Question

Finding eigen vectors of a matrix

Hi I will use [V,D]=eigs(C,3,'LA') to get the three first eigenvectors of matrix C: clear all clc N=5; L=1; h=L/N; C=zeros...

1 month ago | 2 answers | 0

Question

solving two symbolic equations simultaneously

Hi ! I will not use matrix to solve this problem; if we have: x + y = a x - y =b We know we can get by hand and paper: x=(...

1 month ago | 2 answers | 0

Question

Symbol calculation and numerical values

Hi! I have my code here : clc clear all syms k w m e s eqn=k==[w*sqrt(e*m/2)*sqrt(sqrt(1+(s/(w*e))^2)-1)] k=1; e=0.00...

1 month ago | 1 answer | 0

Question

Solve out a symbol

Hi I have the formula : k=w*sqrt(e*m/2)*sqrt(sqrt(1+(s/(w*e))^2)-1) And I will solve out s: clc clear all syms k w m ...

1 month ago | 1 answer | 0

Question

To plot a sketch

Hi! I have a function here : this is when 0<= x<=a when a<= x<=b I have to to sketch this.... Can I do this without gi...

2 months ago | 1 answer | 0

Question

Fron Python to Matlab

I got a code in Python that I will write it again in Matlab and get the same plot: The code is : npts = 1000 # number of poin...

9 months ago | 2 answers | 0

Question

How to plot rectangular potential in matlab

I will try to plot something like this : <</matlabcentral/answers/uploaded_files/140329/u3.jpg>> Observ that this is a re...

10 months ago | 1 answer | 0

Question

Plotting an equation with Matlab

Hi I will plot T(E) <</matlabcentral/answers/uploaded_files/139729/CodeCogsEqn.gif>> where K2 is <</matlabcentral/answ...

10 months ago | 1 answer | 0

Question

Solving equation in Matlab

Hi I obtained these results using Mathematica. If I want to get the same with Matlab, how should I do? At least I will get the...

1 year ago | 1 answer | 0

Answered

To draw an intensity curve with Matlab

This how I could develop the code but I fail with one thing ! clear all clc F=@(L,T) 3.7415E-16 ./((L.^5).*(exp(0.014 ...

To draw an intensity curve with Matlab

This how I could develop the code but I fail with one thing ! clear all clc F=@(L,T) 3.7415E-16 ./((L.^5).*(exp(0.014 ...

2 years ago | 0

Answered

To draw an intensity curve with Matlab

Thank you! I get this after your help and using max function but I don't know how should I use text function to write the valu...

To draw an intensity curve with Matlab

Thank you! I get this after your help and using max function but I don't know how should I use text function to write the valu...

2 years ago | 0

Question

To draw an intensity curve with Matlab

I have a function : <</matlabcentral/answers/uploaded_files/70096/latex1.gif>> And I want to draw the intensity curve : ...

2 years ago | 3 answers | 0