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!