n range between 1 to 7 and d's range between 1 to 100. how to solve it?
1 回表示 (過去 30 日間)
古いコメントを表示
clc
clear all
n=[1:.0001:7];
d= ?? ;
[a]=d*n; display([a]
0 件のコメント
採用された回答
Star Strider
2015 年 2 月 9 日
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;
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!