How we can do the matrix and vector in vector form?
이전 댓글 표시
clc;
clear all ;
close all;
format long g;
%% developing the function for the reverse in the vector concate and reverse it
A = [1;2;3]
B = [4 5 6;8 9 11]
[numRows,numCols] = size(B)
%% new vector will be vector form
C = vertcat(A,[B])
댓글 수: 3
Dyuman Joshi
2023년 12월 13일
It's not clear what the expected output is.
Vims
2023년 12월 13일
Vims
2023년 12월 13일
채택된 답변
추가 답변 (2개)
댓글 수: 3
Vims
2023년 12월 13일
Vims
2023년 12월 13일
Dyuman Joshi
2023년 12월 13일
편집: Dyuman Joshi
2023년 12월 13일
That's a good start.
Now, use indexing to split the data, and reverse the steps of method 1.
카테고리
도움말 센터 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
