@Yuvaraj V: you have really specified how to generate the outpour matrix from the input vector. What would you expect the output from this vector to be?:
@Yuvaraj V: you are changing your specification. First you wrote a comment where you stated that my example was not possible because 5 is larger thannumel(A). Now you have deleted that comment and decided that itis possible. Please clarify which is the correct specification.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
7 Comments
Stephen Cobeldick (view profile)
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/404258-how-to-convert-row-to-matrix-with-below-format#comment_575593
Stephen Cobeldick (view profile)
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/404258-how-to-convert-row-to-matrix-with-below-format#comment_575605
Yuvaraj V (view profile)
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/404258-how-to-convert-row-to-matrix-with-below-format#comment_575607
Stephen Cobeldick (view profile)
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/404258-how-to-convert-row-to-matrix-with-below-format#comment_575608
Yuvaraj V (view profile)
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/404258-how-to-convert-row-to-matrix-with-below-format#comment_575611
Stephen Cobeldick (view profile)
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/404258-how-to-convert-row-to-matrix-with-below-format#comment_575612
Yuvaraj V (view profile)
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/404258-how-to-convert-row-to-matrix-with-below-format#comment_575613
Sign in to comment.