Community Profile

photo

Shivik Garg


Active since 2016

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


convert vector to matrix
i have a vector a=[1,2,3,4,5,6]; i want to convert it to matrix such that the diagonals are all 0 and the rest of the ele...

4 years ago | 1 answer | 0

1

answer

Question


reading n columns and n rows from a file
0,-69.1127,-68.9,-65.2096,-66.5,-66.5,-66.5,-66.5,-66.5,-66.5,-66.5,-66.5,-66.5,-66.5,-66.5,-66.5,-66.5,-66.5,-66.5,-66.5,-66.5,...

4 years ago | 1 answer | 0

1

answer

Question


I have installed a MATLAB TRIAL version but it keeps crashing
Segmentation violation I have installed a MATLAB TRIAL version but it keeps crashing Configuration: Crash Decoding ...

4 years ago | 1 answer | 0

1

answer

Question


how to find cell array intersection
i have cell array y [1x4] [1x5] [1x6] if have to find out common elements among y{1}&y{2} y{1}& y{3} y{2}&y{3] h...

4 years ago | 1 answer | 0

1

answer

Question


adding elements from cell array to another
i have cell array m [1x4] [1x5] and a cell array named y whose dimensions are [1x4] [1x5]. i want to put the y cell array into m...

4 years ago | 1 answer | 0

1

answer

Question


Adding elements to the end of cell array specific row
i have a cell array 1x2. its length is [1x6] [1x4]. i want to add 5 elements to the 1st row how can i do it E.g c{1}=7 7 7 7 ...

4 years ago | 1 answer | 0

1

answer

Question


How to read only some lines and skip others
time,n0v_soma,n1v_soma,n2v_soma,n4v_dend,n5v_dend,n6v_dend,n7v_dend,n8v_dend,n9v_dend,n10v_dend,n11v_dend,n12v_dend,n13v_dend,...

5 years ago | 1 answer | 0

1

answer

Question


At every nth line read n lines together
time,n0v_soma,n1v_soma,n2v_soma,n3v_dend 0,-70,-70,-66.5,-66.5 0.027,-69.9703,-69.9794,-66.4966,-66.4966 ...

6 years ago | 3 answers | 0

3

answers

Question


How to read every nth line of a file
time,n0v_soma,n1v_soma,n2v_soma,n3v_dend 0,-70,-70,-66.5,-66.5 0.027,-69.9703,-69.9794,-66.4966,-66.4966 ...

6 years ago | 1 answer | 0

1

answer