creating .mat files with variables
2 次查看(过去 30 天)
显示 更早的评论
hello all how can i create as .mat file with 4 variables in it of diff sizes like a=1x1 mtx,b=100x128mtx,c=116x128 mtx and d=1x128 mtx.
0 个评论
采纳的回答
TAB
2013-1-25
a=10;
b=rand(100,128);
c=rand(116,128);
d=rand(1,128);
save('myfile.mat','a','b','c','d');
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Portfolio Optimization and Asset Allocation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!