how full square matrix first column as second column in matlab
1 次查看(过去 30 天)
显示 更早的评论
hello guys i have a full square matrix wish to use this matrix first column as a second column
and second column as third column
and third column as fourth column
0 个评论
回答(1 个)
Salaheddin Hosseinzadeh
2015-5-28
Hi Singh,
It sounds a little bit confusing. So if I'm wrong (which I probably am) please give us further clue on what you exactly after.
To me it sounds like you need to shift the matrix to write! Which is a simple task! However I don't know what's gonna happen to the last column! I assume you wanna keep it in last+1 column!
Based on all these not true assumptions I made I guess you will be good with a horizontal concatenation.
newData = horzcat(zeros(size(data,1),1),data);
However I don't think you're after something so easy.
Please explain your problem
Good Luck!
3 个评论
Salaheddin Hosseinzadeh
2015-5-28
Dear Singh,
I'm afraid I have no idea what is a biograph!
Have a look it may help you to define your biograph completely before viewing it.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Random Number Generation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!