MATLAB QUESTIONS & EXPERT ANSWERS

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

Illustration
Why can't MATLAB access a file that is in its current directory?
Fahad - 2023-12-15

I am trying to execute a .m script that manipulates data in an Excel file. The MATLAB code and the Excel spreadsheet are in the same directory, which ...

How can I cut four numbers after the decimal number without rounding using MATLAB ?
Salem - 2023-12-07

I have a number like this:   2.32166873546944   I want to take only four numbers after the decimal point and without rounding, that is, I only want:...

DNN classify function uses GPU, or just CPU ?
Alessandro - 2023-12-07

I have been using Deep Learning for a short time; I learned to use the GPU for network training.   When I trained the neural network, I use the class...

How to train a sequence to classification network on GPU
Tony Marino - 2023-12-07

I have a sequence to classification network that I can successfully train on a CPU using the trainNetwork function. However, when I set the ExecutionE...

How to select a specific cell in UITable?
yasin gedik - 2023-12-05

There is an input and I want to get the other values in the row where this input is equal to one of the values in the first column of the UITable.   ...

How can I obtain the difference between two data stored in workspace?
saleh shlimet - 2023-12-05

I experimentally tested a motor and the measured speed and the reference speed were stored in the workspace. My supervisor asked me to obtain the spee...

How to include complex numbers in fprintf function?
McCormack - 2023-12-05

lambda = [1.064e-6]; R = [30]; w=[0.001]; q = (1./R- i* lambda./pi./w.^2).^(-1); a=1; p=1; m=1; probe_r=linspace(0,0.003,100); probe_theta=linspace(0,...

How to add variable to Table in MatLab App Designer ?
ryem berrada - 2023-12-05

Hello,   I have a few variables that I would like to add into columns of a Table in MatLab App designer.   Ma variables are: app.A, app.B, app.C   ...

Finding the first instance of a value in an array
Pelajar UM - 2023-11-28

I have an array with many rows and many columns. I want to search the array row by row, find the first instance of a value that is above 170 (yellow c...

Find function misbehaves when Indexing into array
Michael - 2023-11-28

I have a function which searches an array for the first value which is below a given tolerance. First, it creates a logic array using the input and a ...

Get a Free Consultation or a Sample Assignment Review!