Hello Sir! How to convert a cell array to char array? I want to read 2 strings from a .txt file and want them in char type. if I do as follow those are cell type. The file conta…
Ask an expert. Trust the answer.
Academic and engineering questions answered by verified MATLAB professionals.
Hello Sir! How to convert a cell array to char array? I want to read 2 strings from a .txt file and want them in char type. if I do as follow those are cell type. The file conta…
I'm trying to use the mocking framework for unit tests I'm trying to make the property of a mock object return another mock object, but the behavior object doesn't have the prop…
I have used a code that was written in someone elses previous question, that adds together all values over 0, after each zero. So if you had : [0 0 0 2 3 4 0 0 0 5 2 1], you wou…
Hello, So, I have a variable phi(1x41) changing with lambda(1x41) and there is matrix (2x2) inside a for loop that needs to be changed with phi but the dimension of matrix shoul…
To get a sense of what I am trying to do: A = [1, 15200, 3, 5, 7; 15200, 15200, 15200, 7,0; 1,1,1,1, 15200; 9200, 1, 1,1,1]; [val] = max(A, [], 2); indices = find(A==val); [row,…
Sir, My project is "Comets recognition from satellite images".I detected the objects from the image and the objects that are dtetected in the order of thousands.I need to detect an…
Dear all, Plain summary: I have a temperature matrix and I need to find the average temperature of the 8 pixels surrounding each pixel. I need to subdivide my 134x134 matrice…
Hello, I have the matrix Values (1X2100) and the corresponding DateTime matrix with datetime data (1x2100 datetime). The values in Values matrix are hourly. I want to categorize…
Hello good day,I wish to have a 'for' or 'while' loop which keeps increasing the value of 'x' as the value of 'phi' keeps increasing from 0 - 77.3049 with 100 numbers. I attempted …
i need to find the location of each element from the matrix/excel, how can i do it through matlab functions? if not possible with functions than how ca I do this with loop? please …