read a variable from .txt file
1 view (last 30 days)
Show older comments
Hello i have this formula y= ((-0.0459*x./sqrt(x.^2-m^2))./(1-exp(0.0459*x./sqrt(x.^2-m^2)))).*sqrt(x.^2-m^2)
m is a variable (it's about 10000 numbers)saved in a file named psp.txt please how can i read it and use these numbers
i used this command fid=fopen('psp.txt','r'). to read file but i don't know what should i do to use these variable instead of m in this formula
With great thanks
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Data Import and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!