Pouyan Msgn
Followers: 0 Following: 0
Feeds
질문
Using curvefit for conditional functions
I have some data and I want to fit it with a function. Here is my attepmt clear all clc X1=[-23.24 -16.79 -14.4 -10.39 -7.494...
대략 3년 전 | 답변 수: 1 | 0
1
답변질문
How to plot a function graphically
I have an equation : that I'd like to plot it. I have a graphical solution: I will reproduce the plot where = 1/2pi (The ...
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to plot the Free particle wave function
Hello! I have the function: And a plot from my book is : As you see in the picture, as a function of x/a is ploted. ...
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
To define the frequency range when we use FFT
In my code, I've solved a differential equation numerically, now the goal is to use FFT and plot it in order to find the phase f...
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
Having all the codes in a single file
I saw an example of boundary value problems in the book Numerical Analysis by Sauer. We have the non-linear equation: Th...
3년 초과 전 | 답변 수: 0 | 0
0
답변질문
How to perform mathematical conditions
I have to reproduce this plot: The function is : As you see in the plot, on the Y-axis we have this condition : [0,-pi...
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
Same Y-axis but two X-axis
Hi ! I wish to have this code with two X-axis... clc clear all x=-4:0.1:4; y=sin(2*x); plot(x,y) grid on figure x2...
대략 4년 전 | 답변 수: 1 | 0
1
답변질문
How to save some values from one vector to another
I have 2 files and I saved them in one vector: clc clear all D1=importdata('M1.txt'); t1=D1(:,1); A1=D1(:,2); D=importdata...
4년 초과 전 | 답변 수: 1 | 0
1
답변질문
To integrate histogram bins
Hi ! I have 2 files where I have first to create histogram and then find the integrated value of some bins! clc clear all D1...
4년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to export a txt file
I have a txt file here but there is a problem in the X-axis and I have to reduce it by the value 1.4 I did it in Matlab but I ...
4년 초과 전 | 답변 수: 0 | 0
0
답변질문
Deconvolution of Guassian curve
I have a curve here which I have to deconvolve it into many other curves with different peaks. The resault is this in another pr...
4년 초과 전 | 답변 수: 1 | 2
1
답변질문
Is the Trapz feature always accurate?
I'm analyzing some spectrum ... In another program FitXPS I enter some data and want to integrate the intensity (which is in Y-a...
4년 초과 전 | 답변 수: 1 | 0
1
답변질문
Symbolic calculation and to solve out a variable
I have the equation : I_1=2.15 ; I_2=8.625; n2=0.039; n1=0.1; L_1=16.76*10^-10 L_2=15.56*10^-10; I tried with this code ...
4년 초과 전 | 답변 수: 2 | 0
2
답변질문
Importing txt files and using loops
I have three txt files and I want to use their nummerical data in Matlab How can I ignore and neglect non-numeric texts? I wa...
4년 초과 전 | 답변 수: 3 | 0
3
답변질문
Normalize and integrate a curve
Hello! If I want to normalize and integrate this curve, how should I do it? clc clear all Data1=importdata('J30.txt'); ...
4년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
5년 초과 전 | 답변 수: 2 | 0
2
답변질문
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=(...
5년 초과 전 | 답변 수: 2 | 1
2
답변질문
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...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
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 ...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
대략 6년 전 | 답변 수: 2 | 0
2
답변질문
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...
대략 6년 전 | 답변 수: 1 | 0
1
답변질문
Plotting an equation with Matlab
Hi I will plot T(E) <</matlabcentral/answers/uploaded_files/139729/CodeCogsEqn.gif>> where K2 is <</matlabcentral/answ...
대략 6년 전 | 답변 수: 1 | 0
1
답변질문
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...
6년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
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 ...
거의 8년 전 | 0
답변 있음
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...
거의 8년 전 | 0
질문
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 : ...
거의 8년 전 | 답변 수: 3 | 0