How can I find a variation vector of a parameter ?
2 ビュー (過去 30 日間)
古いコメントを表示
How can I find two vector of variation of parameters bf and bm which varies
bf = 355.5+-7%;
bm = 34.4+-20%;
0 件のコメント
回答 (1 件)
Rafael Hernandez-Walls
2020 年 7 月 17 日
N=100;
a = 355.5+7;
b = 355.5-7;
r = (b-a).*rand(N,1) + a;
figure
plot(r)
hold on
plot([1 N],[a a],'r')
plot([1 N],[b b],'r')
%
N=100;
a = 34.4+20;
b = 34.4-20;
r2 = (b-a).*rand(N,1) + a;
figure
plot(r2)
hold on
plot([1 N],[a a],'r')
plot([1 N],[b b],'r')
参考
カテゴリ
Help Center および File Exchange で Get Started with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!