read a variable from .txt file
显示 更早的评论
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 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Data Import and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!