Feeds
提问
how do you write a conditional struct?
how do you write a conditional struct?
12 years 前 | 2 个回答 | 0
2
个回答提问
if the input (n) is not a number, i need to display an error message
function output=coa08xxx_master(x,n) switch x case 'plotlines'; output=coa08xxx_lines(n); case 'plotfx'; out...
12 years 前 | 1 个回答 | 0
1
个回答提问
when plotting using a master file from 2 different file, the two plots from the 2 different files appear on the same figure?
how do i clear the first plot so the the second plot appears by itself.
12 years 前 | 1 个回答 | 0
1
个回答提问
how to write a changing title in a loop
function data=coa08xxx_lines(n) data=load('xydata'); y=data.Y; u=data.X; ii=ceil(n/3); jj=ceil(n/ii); for k=1:n; ...
12 years 前 | 1 个回答 | 0
1
个回答提问
i need to plot many plots in a loop function.
function data=coa08xxx_lines(n) load xydata for u=X(:,n) for i=Y(:,n) data= plot(u,i); end end end This cod...
12 years 前 | 1 个回答 | 0
1
个回答提问
hello, have to plot an ineqality and when the solution of the inequality is true matlab has to plot the line at -0.6 instead of 1. what function or code is used in this situation?
x=-1:0.1:2; y1=0.5+((x.*exp(-0.4.*(x.^2))).*sin(x.*2)); plot(x,y1,'-b'); hold on x=-3:0.1:0; y2=10.*cos(-x+pi./2).*sinh((...
12 years 前 | 1 个回答 | 0
