Info
此问题已关闭。 请重新打开它进行编辑或回答。
how to specify plotting axises in simulink?
1 次查看(过去 30 天)
显示 更早的评论
i have this code generated in "Matlab function" block in simulink:
if true
function pfa1 = fcn(c,p,t)
T=0:0.5:32
pfa1=exp(-(T.*t./p).^(c/2))
end
end
now when i use the "scope" block it automatically plots "pfa1" against "t" -t is set to be the time-, i want to plot "pfa1" against "T" how can i do that?
I've used the "XY" plotting block and set T to be an output alongside with pfa1 and used them both as inputs for XY block but i got dimension error
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!