MATLAB QUESTIONS & EXPERT ANSWERS

Ask an expert. Trust the answer.
Your academic and career questions answered by verified experts.

Illustration
Incorrect number or types of inputs or outputs for function 'solve'.
joe892729 - 2023-04-24

sol=solve('0.005448=Is*(exp(0.6885/0.02587))*(1+(4.553/Va))','0.004205=Is*(exp(0.6814/0.02587))*(1+(5.795/Va))'); sol.Is sol.Va...

How to change property behavior for a mocked object
TADA - 2023-04-20

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

How to add together values in matrix and replace the empty spaces with zeroes
Elias Huse - 2023-04-20

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

Want to insert a matrix in a for loop and change it with a variable
Ashi Khajotia - 2023-04-20

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

How to return random unique values based only on the value in each row for the first colomn?
Aron - 2023-04-20

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

Detection of stars from the detected objects.
jyothsna chennareddy - 2023-04-17

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

Help increasing the speed of a piece of code
Simone A. - 2023-04-17

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

Select values based on datetime
stelios loizidis - 2023-04-17

Hello,   I have the matrix Values (1X2100) and the corresponding DateTime matrix with datetime data (1x2100 datetime). The values in Values matrix ar...

How can I add linspace in a For Loop
Edson - 2023-04-17

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

how to find the location of a specific element in a matrix or in a excel file
Aiman Zara - 2023-04-15

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

Get a Free Consultation or a Sample Assignment Review!