Creating variable In Maltab
显示 更早的评论
Hi Experts..
Sorry for this naive question..
I have max row and max column values for a variable ..i want to create a empty variable having dimensions max_row and max_col
I did this
mx_row = max(row);
mx_col = max(col);
cp = [mx_row ; mx_col];
but it creates a variable cp and store the values
Please help
Regards
采纳的回答
更多回答(2 个)
Azzi Abdelmalek
2015-4-5
You can use cell arrays.
a=cell(4,5)
Jan
2015-4-5
0 个投票
"Empty variable" and "having dimensions max_row and max_col" is a contradiction. Please explain what you want to achieve.
类别
在 帮助中心 和 File Exchange 中查找有关 Performance and Memory 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!