Question


how to solve error using integral
clear all clc qu=linspace(-2*pi,2*pi,126); x=linspace(-2,2,126); y=2*x; psi=(-x./sqrt(qu/2)+sqrt(y)/sqrt(exp(-2*asinh(sin(q...

3 years ago | 2 answers | 0

2

answers

Question


how do i integrate one vector by using "intergral function" and not trapz ?
code: i have a complexe double vector f (1x25) and i want to integrate f over -pi and pi, i used it: phase=1i*integral(f,-pi,...

3 years ago | 1 answer | 0

1

answer

Question


why my integral is not a numerical value?
code: z=100; n=100; m=70; qu= linspace(-2*pi,2*pi,m); theta=linspace(-2*pi,2*pi,n); qq=2*pi+pi*(-1.8); target_qq=ceil(z...

3 years ago | 1 answer | 0

1

answer

Question


how to zoom on a figure with multiple axes
hello guys i am trying to creat a plot with 4 axes, but wen i try to zoom on the following plot, only 2 axes are modifed " the...

3 years ago | 2 answers | 0

2

answers

Question


how to read and plot a .trc file?
hello guys i have a trc file named 'c01-00.trc' but i don't know how to read it and plot it in matlab i tried using fileread...

3 years ago | 1 answer | 0

1

answer

Question


Unrecognized function or variable 'writevideo'.
hello guys i'm getting this type of error: Unrecognized function or variable 'writevideo' in my following code : close all a...

3 years ago | 1 answer | 0

1

answer

Question


any idea where can i learn the basics of gca gcf set and get
i am new using this type of code: hAx(1)=gca; hAx(2)=axes('Position',hAx(1).Position,'XAxisLocation','top','xlim',[x2(1) x2(en...

3 years ago | 1 answer | 0

1

answer

Question


how to label second x and y axes
hello guys in the following code, i don't know how to label the x axis on the top and the y axis that's on the right anybody ...

3 years ago | 1 answer | 0

1

answer

Question


how to shift a pcolor figure ?
hello ! is their a way to shift a pcolor figure to the center?

3 years ago | 1 answer | 0

1

answer