# MakM

Last seen: ungefär ett år ago Active since 2021

Followers: 0   Following: 0

#### Feeds

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...

ungefär ett år ago | 1 answer | 0

### 1

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/...

mer än ett år ago | 2 answers | 0

### 2

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...

mer än ett år ago | 1 answer | 0

### 1

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 ...

mer än ett år ago | 1 answer | 0

### 1

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}...

mer än ett år ago | 3 answers | 0

### 3

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...

mer än ett år ago | 1 answer | 0

### 1

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) = ...

nästan 2 år ago | 1 answer | 0

### 1

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...

nästan 2 år ago | 2 answers | 0

### 2

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...

nästan 2 år ago | 1 answer | 0

### 1

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...

nästan 2 år ago | 0 answers | 0

### 0

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...

nästan 2 år ago | 0 answers | 0

### 0

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...

ungefär 2 år ago | 2 answers | 0

### 2

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 =...

ungefär 2 år ago | 1 answer | 0

### 1

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...

ungefär 2 år ago | 1 answer | 0

### 1

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('==========================================================...

ungefär 2 år ago | 1 answer | 0

### 1

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...

ungefär 2 år ago | 1 answer | 0

### 1

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 ...

ungefär 2 år ago | 1 answer | 0

### 1

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...

ungefär 2 år ago | 2 answers | 0

### 2

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...

ungefär 2 år ago | 2 answers | 0

### 2

Question

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

ungefär 2 år ago | 0 answers | 0

### 0

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?

ungefär 2 år ago | 1 answer | 0

### 1

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...

mer än 2 år ago | 3 answers | 0

### 3

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...

mer än 2 år ago | 1 answer | 0

### 1

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?

mer än 2 år ago | 1 answer | 0

### 1

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 ...

mer än 2 år ago | 1 answer | 0

### 1

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...

mer än 2 år ago | 1 answer | 0

### 1

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...

mer än 2 år ago | 0 answers | 0

### 0

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....

mer än 2 år ago | 1 answer | 0