Question

plot in predesigned figure

Hello everyone! I want to plot a small function in a predesigned figure. The script is the attachment called hw and my functi...

1 year ago | 0 answers | 0

Question

cut function and plot

hello, assuming I have the following code and I only want it to plot sin from the 10th value to the 20th value (there are 21 va...

1 year ago | 1 answer | 0

Question

circle least square method

Hello I have already looked into the info on the least square method in matlab, but I do not understand how I'm supposed to pro...

1 year ago | 1 answer | 0

Question

Linearization of points problem

Hello, I have some data dots which I would like to linearize, however my code is not working. aMID=[1.780287,3.672423,5.370854...

1 year ago | 1 answer | 0

Question

draw circle through two given points in plot

Hello I have the following code close all x = -pi:0.01:pi; a=sin(x) plot(x,a) hold all plot(1,sin(1),'o') plot(2,sin(2)...

1 year ago | 1 answer | 0

Question

expand array within for loop

hello, I have this code: close all x=[0,1,2,3,4,5] x1=sin(x) p1=x1(2) p2=x1(3) x3=cos(x) p4=x3(2) p5=x3(3) figure(1)...

1 year ago | 1 answer | 0

Question

create new array with for

Hello, I have a code similar to the following: for z=1:5 'A''num2str(z)'=[1;3*z] end I would like my program to crea...

1 year ago | 1 answer | 0

Question

intersect 2 arrays problem

Hello, if x=[2.34;3.45;3.21;4.56] and y=[3.2;3.67;3.7;5.23] and z=[3.3;3.5;4] how do I get matlab to tell me xyz=[...

1 year ago | 1 answer | 0

Question

legend for hold function

Hello, I have a problem with a function I am using in a script. in my script I am letting my program run through 1 file. The f...

1 year ago | 1 answer | 0

Question

plot function in predesigned figure

Hello! tryscript is my script, tryyy is my desired function and f_vorlage is where I define h. h is the in f_vorlage predesigne...

1 year ago | 1 answer | 0

Question

plot in predesigned figure

Hello I have a script, where I tell my programm to create a figure, called h ,looking like the second picture. then in a funct...

1 year ago | 1 answer | 0

Question

if function for array

Hello I have a programm, that looks something like this: x=[52.23;52.45;56.32;55.48;56.32;53.39;55.53;53.67;57.89] plot(x) ...

1 year ago | 2 answers | 0

Question

many plots within one plot using functions to draw the plots

Hello, I am using a script to read different excel sheets and within this script I am using a funtion to plot my excel data. F...

1 year ago | 1 answer | 0