MATLAB Solutions & Expert Answers

Ask an expert. Trust the answer.
Academic and engineering questions answered by verified MATLAB professionals.

MATLAB expert answering student questions
Showing page 8 of 208 Ask a Question
How can I make the mean of 3d matrices in a cell in Matlab?
Lazaro Hernandez · Oct 16, 2024 · arrays , matlab , matrix , cell , mean

I have a 1x12 cell in Matlab and each element of this cell has a 3d matrix. I want to make the mean of these 3d matrices, so that I obtain a 3d matrix that has the same dimensions …

The input dimension of self-attention
bin · Oct 14, 2024 · self-attention layer , Image Processing and Computer Vision , Image Acquisition Toolbox , Image Da

MATLAB currently provides self-attention that can only input one sequence, but how to deal with two-dimensional images, for example, I want to input two-dimensional images composed…

How To Plot Transfer Functions In Matlab?
AliDeniz · Sep 3, 2024 · system dynamics , control engineering , transfer functions , Time and Frequency Domain Analysis , F

How can I plot this state space like the graph I attached by using tf() and step() command? Thank you! I2/E0=1/(s^3+s^2+3*s+1)…

How Can Replacing Characters In A String?
Crosby · Sep 2, 2024 · MATLAB , Language Fundamentals , if statements , loops , string

I want to replace characters in a string using loops and if statements. For example if there is a Y in the string, I want to change it to a J. If there is an M in the string I want…

How to plot multiple graphs in one figure ?
chandanamunnangi · Aug 30, 2024 · sub plot , tiled , layout figure ,multiple axes , Matlab

I have two codes. Each code has four graphs. I want to plot two graphs in one figure. For example: Dead nodes vs Round graph of two should be in one figure. In the same way other g…

I keep getting error using plot not enough input arguments
Belinda_tee · Aug 29, 2024 · plot , error , plotting error , MATLAB , Graphics , 2-D and 3-D Plots

I keep getting error when I try to plot the following code and I don't really know what I'm doing wrong.   data = readtable('instr_04_01.csv'); load = data.Extension(2:89); displa…

How to transpose a matrix in matlab.
krieshturb · Aug 20, 2024 · transpose, matlab, function

How do you transpose a matrix in MATLAB, and what functions are used?What is the transpose of a matrix, and how is it defined?…

Get a Free Consultation or a Sample Assignment Review!