Answered how to plot Double y axis?
x = linspace(0,10);
y = sin(x);
yyaxis left
plot(x,y)
z = (8*x);
yyaxis right
plot(x,z)
ylim([-150 150])
I put an ...
ongeveer 3 jaar ago | 0
Answered How can I get multiple values from arrayfun?
clear
clc
a = 1:1000;
b = linspace(100,200,1000);
x1 = arrayfun( @(v,w) fminsearch(@(x) (x(1)-v).^2 + (x(2)-w).^2, [1;1...