n range between 1 to 7 and d's range between 1 to 100. how to solve it?
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
ABHISEK MOHANTY
il 9 Feb 2015
Commentato: Star Strider
il 9 Feb 2015
clc
clear all
n=[1:.0001:7];
d= ?? ;
[a]=d*n; display([a]
0 Commenti
Risposta accettata
Star Strider
il 9 Feb 2015
I’m not certain what you want to do, but this may be one approach:
n = [1:.0001:7];
d = linspace(1, 100, length(n));
a = n.*d;
2 Commenti
Vedere anche
Categorie
Scopri di più su Creating and Concatenating Matrices in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!