Answered
How to avoid effect of number of extra zeros after decimal point on the equality between two arrays?
Hi, I also tried like you and also got wrong result. Later I checked for y1(201) where the ans=0 and I got correct result. I...

4 years ago | 0

Answered
how to generate chromosome?
Is maybe this what are you looking for? chromo=40; gene=20; for i=1:1:chromo for j=1:1:gene pop=randi([0,1]); ...

4 years ago | 1

| accepted

Answered
Can anyone help this graph matlab code please?
Hi, is maybe this code what are you looking for? x=-3:0.01:3; y=NaN(size(x)); L=x<=-2; y(L)=0; L=x>-2 & x<0; y(L)=x(L)+2;...

4 years ago | 1

Answered
How to add a second Y axis to a bar chart?
Hi! I recomend you that you use plotyy. Below you have an example. [ax,h1,h2] = plotyy(f,[a',b',d',U'],f,I); set(ax(1),'...

4 years ago | 0

Question


Plot for different conditions of function
Hi everyone, i have the task that I have to make plot for different conditions y(x) for different value x. The following co...

4 years ago | 1 answer | 0

1

answer

Answered
How do I save my work
Hi! Save the code and after you run it you have the work. Other option is that you do files with answers if you need it. fl=(...

4 years ago | 0

Answered
Sidewind or disturbance for automotive
Hi, welcome to Matlab. Maybe this will somehow help you: https://www.mathworks.com/matlabcentral/fileexchange/69001-simulati...

4 years ago | 0

Answered
How to call multiple subplots in one code?
Maybe you should try different if scenario==1 figure(1) subplot (1,2,1) plot(temp,'k:') figure(2) subplot(1,2,1) plot(w...

4 years ago | 0

| accepted