Respondida
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...

más de 3 años hace | 0

Respondida
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]); ...

más de 3 años hace | 1

| aceptada

Respondida
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;...

más de 3 años hace | 1

Respondida
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),'...

más de 3 años hace | 0

Pregunta


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...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Respondida
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=(...

más de 3 años hace | 0

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

más de 3 años hace | 0

Respondida
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...

más de 3 años hace | 0

| aceptada