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

mehr als 4 Jahre vor | 0

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

mehr als 4 Jahre vor | 1

| akzeptiert

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

mehr als 4 Jahre vor | 1

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

mehr als 4 Jahre vor | 0

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

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

mehr als 4 Jahre vor | 0

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

mehr als 4 Jahre vor | 0

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

mehr als 4 Jahre vor | 0

| akzeptiert