Community Profile

photo

harshpurohit11


Last seen: 3 years ago Active since 2018

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


How to make mdfimport tool v1.3 work for matlab 2017a
I am using mdfimport tool v1.3 to import .dat files into matlab workspace. The tool works just fine with 2014a however gives a b...

5 years ago | 0 answers | 0

0

answers

Question


How to remove/replace NaN from multiple variables in workspace?
I have a number of variables in workspace: A = [NaN; NaN; NaN; 1; 2; 3..]; B = [NaN; NaN; NaN; NaN; 4; 27; 31..]; C = [NaN; NaN;...

5 years ago | 1 answer | 0

1

answer

Question


How to read in INCA hex file in matlab
Is there a function to read in a hex file from INCA in matlab

5 years ago | 0 answers | 0

0

answers

Question


How to remove spaces and special characters from elements of a char array
char array names = ['time (s)', 'speed (%)',....] I want to save the char array such that () and % characters are removed, me...

5 years ago | 1 answer | 0

1

answer

Question


How to add variables in workspace with names derived from a char array and corresponding values stored in a double array
char array col_names = [time; speed; distance...] and double array data = [0;1;2;3... ,10;20;30;40.. ,5;6;7;8...]. col_names is ...

5 years ago | 2 answers | 0

2

answers

Question


how to extract certain data points from a long array based on certain criteria
veh_velo = [0,0,1,3,7,9,11,15,18,20,19,19...]; accel_pedal = [0,0,2,4,6,9,10,11,12,13,13..]; I want to extract all maximum acce...

5 years ago | 1 answer | 0

1

answer

Question


How can i print z axis values on a pcolor plot
x = [0,10,20,30], y = [100,210,300,500] z = [0 0 0 1; 0 0 1 0; 1 1 0 0; 1 0 0 0]; i tried generating a pcolor plot for above ...

5 years ago | 1 answer | 0

1

answer

Question


How to create multiple data structures
I have two arrays A = {'a';'a';'a';'a';'b';'b';'c';'c';'c';'d';'d'} and B = [1,2,4,6,2,3,4,6,7,8,9]; length(A)=length(B). How ca...

6 years ago | 2 answers | 0

2

answers

Question


How to perform calculations on common elements of an array
I have A_names =[a,a,a,b,b,c,c,c,c]; B_values = [1,2,3,2,2,3,4,4,4]; length(A_names) = length(B_values). I need to find average ...

6 years ago | 2 answers | 0

2

answers

Question


how to modify a double whose name is stored as a string in another cell
abc_1 = [1;2;3;4]; abc_2 = [2;3;4;6]; abc_3 = [3;5;6;7]; merge_all = who('*abc*'); para_num = 1; while pa...

6 years ago | 1 answer | 0

1

answer