Community Profile

photo

Wajahat


Last seen: 3 years ago Active since 2017

Followers: 0   Following: 0

Message

PhD student

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Encounter an error while using fimplicit?
How to plot the following equation on matlab by using fimplicit? (x-x0).*conj((x-x0))+(y-y0).^2=r^2 close all; r=1./2; ...

4 years ago | 1 answer | 0

1

answer

Question


How to plot solutions for different values of parameters on same file?
How to plot solutions for different values of parameters on same file i..e, close all; X=-5:.1:5; T=-5:.1:5; %i=1; w0=.5;...

4 years ago | 0 answers | 0

0

answers

Question


Is it possible Matlab shows the grid on the surface of the plot?
close all; X=-10:.1:10; T=-10:.1:10; %i=1; w0=1; c=-1; mu1=.4*1i; a=2*mu1.^2-(2*w0.^2); [x,t]=meshgrid(X,T); u=2*(1i*...

4 years ago | 2 answers | 0

2

answers

Question


plotting a derivative of a function using surf command
I am trying to plot a derivative of a function using surf command, but when I evaluate it an error occur "Data dimensions must ...

5 years ago | 1 answer | 0

1

answer

Question


Matlab take a long time for evaluation
When I evaluate the program (given below), matlab take a long time to evaluate this program. How to get rid off from this ...

5 years ago | 0 answers | 0

0

answers

Question


error occur with comment "Subscript indices must either be real positive integers or logicals" while plotting
clear all; close all; X=-10:1:10; T=-10:1:10; C1=2; C2=1; b=-1.5; [x,t]=meshgrid(...

5 years ago | 1 answer | 0

1

answer

Question


How linear system of equations can be solved in matlab
How we can solve following linear system of equations in matlab? A1_{x}=1i*a*(A1+A2); A2_{x}=1i*a*(A1-A2); A1_{t}=(-1i*...

5 years ago | 1 answer | 0

1

answer

Question


How to get a number in matlab
m1=.1+.8*1i; m2=.5+.8*1i; A=(m2-conj(m2)).*(m1-m2).*(m1-conj(m2)).*(m1.^2+conj(m1).^2)+m1^2.*(m1-conj(m1)).*((m1-m2).*(con...

5 years ago | 1 answer | 0

1

answer

Question


issue with solving system of odes in matlab
syms l g t A omg k syms f1(x) f2(x) S = dsolve(diff(f1) == l*f1 + sqrt(g)*A*exp(i*omg*t-i*k*x)*f2, diff(f2) == -...

6 years ago | 1 answer | 0

1

answer

Question


problem facing with parametric 3D plot
clear all; close all; N=-10:.1:10; q=-10:.1:10; t=.1; i=1; p=.8; mu1=(-1.24); m1=-(1+i.*p./mu1).^N.*exp(...

6 years ago | 0 answers | 0

0

answers

Question


how can solve the ratio in matlab
how can i solve the the ratio in matlab y(x)=1./((a^2 + b^2)e^x + (c^2 + d^2)e^-x) where a, b,c and d are constant. ans...

6 years ago | 2 answers | 0

2

answers

Question


solve difference equation in matlab
how can i solve following difference equation in matlab? A(n+1)=(1-i*p)A(n), where p is arbitrary constant and A(0)=A0 The...

6 years ago | 1 answer | 0

1

answer

Question


How to plot parametric equations by using "for loop"
If we have, t= linspace (-30,-1.6); X= ((3*t)./(1+t.^3); Y= ((3*t.^2)./(1+t.^3)); plot(X,Y); How we plot X an...

7 years ago | 0 answers | 0

0

answers

Question


error while compiling matlab file
<</matlabcentral/answers/uploaded_files/76820/123.png>> when i compile the the programm (see attached file), an error occur i...

7 years ago | 1 answer | 0

1

answer

Question


how to plot a solution with ratio of determinants in matlab
supoose a1=a-(det[y11 y21; c1*x11 c2*x21]/det[x11 x21; y11 y21]), if x11=((1+i*p/c1).^n)*exp(-i*c1*t/2), x21=((1+i*p/c2).^...

7 years ago | 0 answers | 0

0

answers

Question


matrix with entries as variable
I have a matrix equation A=B C B^{-1} If A=[0 x+i/2(y+z); x-i/2(y+z) 0] C=[x y; z -x] where i is iouta. t...

7 years ago | 1 answer | 0

1

answer