MATLAB: How to create a vector from two or three point vector a) A(1,2) B(6,3) C (1,5) b)A(5,9,8) B(7,5,4) C(5,7,8) How to create vector AB and AC ? Best Answer A = [1,2]B = [6,3]C = [1,5]AB = B - AAC = C - AThe same with three points Related SolutionsMATLAB: Mixing and merge two vectors This works:A = [1 2 3 4];B = [5 6 7 8];C = reshape([A; B], [], 1)';C = 1 5 2 6 3 7 4 8 MATLAB: How to save a specific field from struct as mat file A.a = 1;A.b = 2 ;A.c = 3;save('new_c', '-struct', 'A', 'c') Related QuestionSort a vector according to another vectorI have two vectors A and B. Also I have a matrix K. I want to use the vectors A and B as coordinates in K. How to do thatGive a id to same values in a cellCan I solve symbolic mathematical operations with matlab
Best Answer