n range between 1 to 7 and d's range between 1 to 100. how to solve it?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
ABHISEK MOHANTY
le 9 Fév 2015
Commenté : Star Strider
le 9 Fév 2015
clc
clear all
n=[1:.0001:7];
d= ?? ;
[a]=d*n; display([a]
0 commentaires
Réponse acceptée
Star Strider
le 9 Fév 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 commentaires
Voir également
Catégories
En savoir plus sur Logical dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!