Community Profile

photo

MakM


Last seen: 11 months ago Active since 2021

Statistics

  • Thankful Level 4

View badges

Content Feed

View by

Question


How to compute the lap count in the data
I want to compute the lap count of a car, means how many times a car has completed a lap. I have coordinates of the car attached...

12 months ago | 1 answer | 0

1

answer

Question


Sort Cell Array after accumarray function
I have following code; row_f=({0;0;0;1;2;3;4;0}); row_s=({'a';'a';'b';'b';'c';'c';'a';'b'}); t={'12/09/2022 04:28:01 PM';'12/...

1 year ago | 2 answers | 0

2

answers

Question


how to sort within the cell array
I have the following code; sec=({'a';'a';'b';'b';'c';'c';'a';'b'}); fir=({0;0;0;1;2;3;4;0}); all=[fir,sec]; [~,~,X] = unique...

1 year ago | 1 answer | 0

1

answer

Question


how to subtract the datetimes
I have cell values that are in datetimes : a= {[12/09/2022 04:28:01 PM]} and b={[12/09/2022 04:28:26 PM]}. I want to ...

1 year ago | 1 answer | 0

1

answer

Question


how to read .txt file having the following format.
I have text file attached, how can I read it like a table in MATLAB? [{"ID":1,"Column_A":"red","Column_B":"apple","Column_C":0}...

1 year ago | 3 answers | 0

3

answers

Question


plot all dates to x-axis in bar graph
d = datetime(2017,1:20,1); x = rand(1,20); bar(d,x) I have this code, I want all the 20 dates to be visible on the x axis, bu...

1 year ago | 1 answer | 0

1

answer

Question


How to read specific value from the hdf5 file.
I have hdf5 file, with the contents showns: data = h5read('check_v1_c1.h5','/coordinates',[1.00 1.00],count) data(:,:,1) = ...

1 year ago | 1 answer | 0

1

answer

Question


append data to the already existed .txt file horizontally
I want to append the data to my already existed .txt file, how can I do that. My text file is like that: A B C D 1 2 3 4 1 2...

1 year ago | 2 answers | 0

2

answers

Question


how to append data in hdf5 file.
hdf5write('check_v1.h5','/g1/coordinates',all_data); hdf5write('check_v1.h5','/g2/coordinates_vel',all_data1); How do i append...

1 year ago | 1 answer | 0

1

answer

Question


how to convert the database file into hdf5 format.
My database file can have large file sometime due to which I can't read and write data from it, as it crashes the MATLAB. So i a...

1 year ago | 0 answers | 0

0

answers

Question


how to read h5 file in matlab
I have save a .h5 file using hdf5write function in MATLAB, like this 'hdf5write('myfile.h5','/coordinates',coord);'. the h5 file...

1 year ago | 0 answers | 0

0

answers

Question


How to get the order if one column has same number and other column has different values
I have the below cell table in MATLAB, I am using the "num2cell(transpose(Array_games( [true, diff(Array_games) ~= 0] )));" func...

2 years ago | 2 answers | 0

2

answers

Question


can we use msgbox and inputdlg together to get input in app designer matlab
I have below code, I want to put msgbox and input from the user on the same dialog box, is there any way I can do it? for d_i =...

2 years ago | 1 answer | 0

1

answer

Question


scroll bar does not work when dialog box appears in app designer
I am attaching the code, which is used to read the text files from the directory. whenever the dialog box appears the scroll bar...

2 years ago | 1 answer | 0

1

answer

Question


How to output the multiple line in dialogue box app designer
I have multiple lines, I want to print in the dialogue box. fprintf('==========================================================...

2 years ago | 1 answer | 0

1

answer

Question


display data in text field MATLAB app designer
How can I display my data into the test field. My data is in the loop as shown in the code. I want to display all data in text f...

2 years ago | 1 answer | 0

1

answer

Question


How to name the sheet in excel using MATLAB
I am writing table to excel sheet, is there any way I can name the excel sheet no. Like instead of sheet 1 or sheet 2 I want to ...

2 years ago | 1 answer | 0

1

answer

Question


Putting NULLs in between the string array.
I have string array A={'a','b','c','d','e'}, and index vector index=[1,3,5]. I want to put NULL values at this location and shif...

2 years ago | 2 answers | 0

2

answers

Question


Compare two columns having different values.
I have 2 variables A and B, I want to compare the values with each other and want result like variable C. Is there any direct fu...

2 years ago | 2 answers | 0

2

answers

Question


Error in URI function
I have the following code. import matlab.net.* import matlab.net.http.* %importing in the l...

2 years ago | 0 answers | 0

0

answers

Question


How can i check if http interface in MATLAB is working?
is http interface is a protocol or library and how can I install that?

2 years ago | 1 answer | 0

1

answer

Question


Assign nearest maximum value.
I have a vector named A=[10,20,30,40], Suppose I need to find the number 25 from that vector, as 25 is not present in this vecto...

2 years ago | 3 answers | 0

3

answers

Question


Moving Average with timestep
I have an array M=[1,4,7,6,4.5,7.5,8.5,4.5] and for time t=[1,2,3,4,5,6,7,8]. I have to find the average of M w.r.t t, with a wi...

2 years ago | 1 answer | 0

1

answer

Question


how to know if cell has some empty values
I have cell array. How do I check that if column 3 has some empty values or not?

2 years ago | 1 answer | 0

1

answer

Question


adding the rows for unique numbers
I want to add the first column for each unique value in column 3. In this example i want the count 4 for 1 and count equal to 1 ...

2 years ago | 1 answer | 0

1

answer

Question


How to make the sizes of all variable same in the loop.
I have 4 variables, Game0, Game1, Game2, Game3 in the for loop. I am writing these variables to excel file by using the "writeta...

2 years ago | 1 answer | 0

1

answer

Question


Row Range in writetable MATLAB
I want to write the table from A1 column but the table should start from the second row of the excel. TT is my table, and I want...

2 years ago | 0 answers | 0

0

answers

Question


How to add the rows if it is same.
I am trying to add the rows that have same game column. For example, for same rows like game value =0, the output should be 0....

2 years ago | 1 answer | 0

1

answer

Question


find the repeating numbers in order
I want to find the repeating numbers from the array in order. I have tried different repeating functions which tell me the frequ...

2 years ago | 1 answer | 0

1

answer