Answered
multiple arrays to one text file
Please refer to the below MATLAB Answer : https://www.mathworks.com/matlabcentral/answers/364579

ongeveer een maand ago | 0

Answered
asking about c++(array)--(need some help).how can i solve the problem?
Hey @ghyd ri, I have used C++ stl for the implementation, refer to the code below: #include <iostream> #include <vector> #inc...

ongeveer een maand ago | 0

Answered
How to assign values to cell array of characters (e.g., LeftArrowKey = 1)
Hey @James Crum, I assume that ' OT1response_1' might have other keystroke entries other than 'LeftArrow' and 'RightArrow' this ...

ongeveer een maand ago | 0

Answered
Moving mean for a vector
Hey @Elena Airoldi, please refer to this article: https://www.mathworks.com/matlabcentral/answers/115146

ongeveer een maand ago | 0

Answered
max of two arrays one being empty returns the empty array
Hey @Harish Dhanasekaran Velayutha Rajan, I assume that if one of the array among 'A' or 'B' is empty you need to return [], or ...

ongeveer een maand ago | 0

Answered
if and for loop
Hey @adarsh, you can implement it with couple of if conditions and sum function, below i have attahced the code implementing the...

ongeveer een maand ago | 0

Answered
Filling a array/matrix without for-loop
Hey @Joschua Kraus, you can make use of vectorizied operations in MATLAB. Please refer to this documentation.

ongeveer een maand ago | 0

Answered
convert arrays of a tensor symbolically
Refer to Symbolic Toolbox.

ongeveer een maand ago | 0

Answered
Best Practice for Function Input
Hey @Ni Wi, Its better to use the first way as it is more readable and not does not get cluttered as the number of properties of...

ongeveer een maand ago | 0

Answered
How do I add space between any specific word in string
Hey @Sagar Talaviya, you can make use of regular expression to acheive the above requirement, I have attached the code please ta...

ongeveer een maand ago | 0

Answered
How can I get the sum of every 3 elements of array?
Hey @John Go, you can achieve it by using 'reshape' function. The idea is to reshape your array into a matrix where each column ...

ongeveer een maand ago | 0

Answered
"Subscriped assignment dimension missmatch" Error
Hey @Lukas Lehrman, hey there is a minor mistake in your code as 'A' is 2x2 matrix and 'v' is 2x1 matrix and the resultant matri...

ongeveer een maand ago | 0

Answered
summing between array with different length
Hey @Moch Arief Albachrony, I assume that at first step you want to add elements of array y to elements of array x starting at i...

ongeveer een maand ago | 0

Answered
Implementation if statement with two different conditions
Hey @Skydriver, I see that the else condition inside the for loop does not have any if condition, Please refer to the below corr...

ongeveer een maand ago | 0

| accepted

Answered
Reassign field(Structures)
Hey @Yunming Zhang, Suppose you have a structure named myStruct and a field within it called fieldname. If s1 is the sorted cell...

ongeveer een maand ago | 0

Answered
How to perform calculations using a structure array ?
Hey @Priyadharshini Kannan, I assume that 'model' is your structure with a field 'S' which is a matrix and another field 'reacti...

ongeveer een maand ago | 0

Answered
Enter output data, at the entrance of the same process.
Hey @Ricardo Gutierrez, I assume that for each cycle you will calculate value of 'rxx' from 'arrmat' and then update the values ...

ongeveer een maand ago | 0

Answered
How to input a matrix as input into a function
Hey @William Brown, you can pass a matrix as an argument to the function, while calling the function from command line make sure...

ongeveer een maand ago | 0

Answered
how to add to matrix in a loop rather than replace
Hey @Jaber Gharib, in the code you have provided each time when you see a match you are overrding previous value instead of appe...

ongeveer een maand ago | 0

Answered
How to display a message when two conditions are met in GUI
Hey @David Armendáriz, you can make use of MATLAB App Designer to design the requirements provided. Please follow the below st...

ongeveer een maand ago | 0

Answered
How to average over multiple dimensions at varying increments?
Hey @cgs5198, I assume that in the array dimensions of 144x73x841, 144 and 73 represent spatial dimensions (latitude and longitu...

ongeveer een maand ago | 0

Answered
how to find covariance of a matrix. but i need a single value as a covariance between two matrix instead of matrix
@neethu p, I assume that you want to find covariance between 2 matrix, Please refer to the documentation below: https://www.math...

ongeveer een maand ago | 0

Answered
Change one element in a row at a time with an uniform probability.
Hey @Neje, i assume that in the given matrix you have to randomly chose a cell and replace that with a single element from the s...

ongeveer een maand ago | 0

Answered
Plot stacked time series
Hey @Maha, for plotting stacked figure please refer the documentations below: https://www.mathworks.com/help/matlab/ref/stacked...

ongeveer een maand ago | 0

Answered
Plot Excel Time Series,date without weekend and holidays in Matlab
Hey @Kristy Kwok, you can achieve the above functionality in MATLAB, Please follow the below steps Read the Data using 'readtab...

ongeveer een maand ago | 0

Answered
how to modify the table height in power point
i assume that you want to modify the row width, Please refer to the answer below: https://www.mathworks.com/matlabcentral/answer...

ongeveer een maand ago | 0

Answered
How can I create a new column with date info with specific date format ?
Hey @German Barrera, I assume that you have date saved in the format below %year mm dd hh 1997 1 1 0 and you want ...

ongeveer een maand ago | 0

Answered
prevent overwriting in matrix
Hey @swarnali mukhopadhyay, you can overwrite previous state with sum of previous state and the new values inside the loop. for...

ongeveer een maand ago | 0

Answered
How used G.711 codec?
@razan awadelkarim, refer https://www.mathworks.com/help/dsp/ref/g711codec.html?s_tid=answers_rc2-2_p5_MLT

2 maanden ago | 0

Answered
zonal stat in matlab
@Tanmoyee Bhattacharya, refer https://www.mathworks.com/help/stats/grpstats.html

2 maanden ago | 0

Load more