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!