Answered
Programmatically maximize simulink window
Hi @skamajaya, I see that you want to maximize the Simulink window in a programmatic way using MATLAB code. I do not see a di...

ungefär 2 månader ago | 0

| accepted

Answered
How can I export fields from a series of .mat struct files into seperate .csv files in a loop while maintaining the field names as the new file names?
Hi @Vítor, As per my understanding, you want to perform file manipulation involving .mat file. Specifically, you want to read ....

ungefär 2 månader ago | 0

Answered
For loop won't display all 10 images in the subplot
Hi @Maxamilian, I see that you want to display 10 images in a subplot but for some reason you can see only 9 of them. To diagn...

ungefär 2 månader ago | 0

Answered
how to use if with a condition
Hi, As per my understanding, you want to run the contents of the inner loop only when the condition specified by you is true an...

2 månader ago | 0

Answered
Sort absolute value of matrix row in descending order, display with +,- sign along with original index value
Hi, I see that you have a matrix, and you want to sort the rows of the matrix based on the absolute value of the contents in de...

2 månader ago | 0

Answered
Multiplication of a Sparse Matrix With Diagonal Matrices
Hi, I see that you are seeking an efficient method to compute "normL" using a Laplacian matrix (L) and a diagonal matrix (D). ...

2 månader ago | 0

| accepted

Answered
Create a table from vectors with different rows and fill missing
Hi, I see that you have several vectors of different length and now you want to stack them together in an array of fixed length...

3 månader ago | 0

Answered
Please help me out here; I've tried this code and it doesn't seem to work right.
Hi, I see that the problem statement is asking you to repeatedly divide a number and finally when it is no longer divisible sto...

3 månader ago | 0

Answered
Symbolic variables in a for loop
Hi, I understand that you have a pattern in mind, and you want to sum up that sequence using for loop. Let us assume that the...

3 månader ago | 0

Answered
How can I spped up my shuffle test for a large array?
Hi @Meng Wang, I understand that you have a large multidimensional array, and you want to shuffle it along the first dimension....

3 månader ago | 0

Answered
how to vectorize a for loop in cell arrays
Hi @John, It seems that you are attempting to extract data from a cell array and transfer it to another cell array, aiming to m...

3 månader ago | 0

Answered
Keep getting the error "Index exceeds the number of array elements (1)"
Hi @Alexis Williams, I see that you are getting this error “Index exceeds number of array elements(1)”. It is also mentioned th...

3 månader ago | 0

Answered
Sorting Permutation Matrix for Rows With Specific Consecutive Values
Hi @Michael Kalange, I see that you are trying to generate a matrix with unique rows and in the generated matrix you want to fi...

3 månader ago | 0

Answered
use of for loop for time shift
Hi @aa, As per my understanding, you have a dataset of time vs number of events, and you want to sum up number of events for ea...

3 månader ago | 0

Answered
Matlab sorting by last name into 26 substacks
Hi @M&M, I see that you want to sort names based on the last name of the person into 26 sub-stacks, one for each alphabet. I a...

3 månader ago | 0

Answered
How to convert cell to numeric
Hi @José Javier Rubio Rubio, I understand that you want to convert data which is currently in string format(“1P”) into numeric ...

3 månader ago | 0

Answered
How do I change the MinGW gcc (tdm64-1) 4.9.2 to 6.3 version?
Hi @Merin Mary, From what I understand, you have installed new version of MinGW gcc compiler specifically 6.3 and you want MA...

3 månader ago | 0

Answered
Saving randomly generated sequence into a binary file
Hi @Mahdey Hameed, As per my understanding, you have generated a .BIN file using custom PRNG and want to test randomness of gen...

3 månader ago | 0

Answered
Why do I get " Unable to resolve the name Mdl1b.Partition"
Hi @Achouak Madani, I understand that you are encountering an error message: ‘Unable to resolve the name Mdl1b.Partition’ and y...

3 månader ago | 0

Answered
Opening Anaconda Command Prompt in Matlab
Hi, As per my understanding, you are encountering an error ‘invalid use of operator’ while opening Anaconda Command Prompt from...

3 månader ago | 0

Answered
Finding mean value over certain amount of values in a matrix
Hi, As per my understanding, you want to calculate the mean values of a column by considering 2 entries at a time. To calcula...

3 månader ago | 2

Answered
Read multiple images from folder and subfolder within a for loop
Hi, As per my understanding, you want to read image data stored in a folder and a subfolder within a for loop. I am assuming...

3 månader ago | 0

Answered
not showing all results from loop
Hi, As per my understanding, you are calculating some data inside for loop and you wish to keep accumulating it into a table. A...

3 månader ago | 0

Answered
Extract cell rows to new array after strfind or strcmp matching.
Hi, As per my understanding, you have an array in which there is a date string column, and you want to extract rows correspond...

3 månader ago | 0

Answered
For Loop to Cycle through Struct
Hi, As per my understanding, there is a struct array of dimension 6x1 and you want to use a 'for' loop to cycle through each a...

3 månader ago | 0

Answered
Sorting Files into subfolders based on name
Hi, As per my understanding, you want to organize your files into folder structure according to the values of F and W in the na...

4 månader ago | 0

Answered
Sorting rows by column 1, and then sorting each subset of column 1 by column 2... i.e sort so X coordinates are ascending and then sort all values with the same X by Y
Hi, As per my understanding, you want to sort the rows of the array first based on the column X and then on this you want to fu...

4 månader ago | 0

Answered
Accessing struct variable using another variable.
Hi, As per my understanding, you want to enable functionality such as pointers for your application but MATLAB does not provide...

4 månader ago | 0

Answered
Why the generated C codes have "b_"?
Hi, As per my understanding, when you generate code using MATLAB Coder then some of your variables have a “b_” prefix. I tried...

4 månader ago | 0

Answered
Why is matlab creating multiple figures
Hi, As per my understanding of the question, the issue is that on running the program many figure windows open which is not the...

4 månader ago | 0

Load more