MATLAB QUESTIONS & EXPERT ANSWERS

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

Illustration
Error using stem (line 43) X must be same length as Y.
praveen sebastian - 2022-10-31

close all; clear all; clc; fs=6000; t=0:0.001:.1; t1=0:1/fs:1; f1=200; f2=1000; f3=1500; f4=2500; xa1=2*sin(f1*pi*t); xa2=3*cos(f2*pi*t); xa3=.5*sin(f...

Remove the circular
William - 2022-10-31

Is there a way in the handles menu to eliminate the circular "tips" on stem plots? I just want vertical lines as the plots are grouped four to a figur...

How to plot several sets (in different colours) with stem3-plotting function?
Jouni Lohikoski - 2022-10-31

So I have several line array A which has columns [x, y, val1, val2]. For example, I want to have a single stem3-plot, where val1s are red and val2s ar...

Simulink Scope Layout and Signal Selection
ishan_singh - 2022-10-11

Hi, I can't define which of my input signals fall into which part of the layout in the Simulink Scope.      I have 3 signals. I setup the scope lay...

what is the median frequency matlab code?
haya alawneh - 2022-10-11

hello everybody, my question what is the median frequency(MF) mat-lab code ,if the median frequency defined as the frequency that divides the magnitud...

Using matlab to compare solidworks part files without opening solidworks
trns_ww - 2022-09-27

A short background on me. I am new to the forum and i have not used matlab in years. I am a mechanical design engineer and have a degree in Mechanical...

Wireless communication between 2 Simulink blocks without Goto/From
langrg - 2022-09-27

Hi,   Would there be a way to create 2 Simulink blocks (Matlab Function? S-Function ?) that would be in a same model, at different levels and which c...

How can I plot a comb function?
suketu vaidya - 2022-09-27

Hello,   A comb function is an array of delta functions spaced equally. I want to plot a function like this. F(x)= comb(2x)*sinc(50x).sinc^2(x). I co...

How can i give a trained model some images as an input ?
Lukas Sohlbach - 2022-09-20

I trained a model with classification learner to classify fruits. Now i want to test my model. How can i give the model some images as an input ?  ...

how to convert grey image to RGB
kmal masud - 2022-09-20

i have 60 slice grey image. how want to convert to RGB image?   as attached is my grey image (grey.jpg). rgb.jpg is from internet what i want like. Â...

Get a Free Consultation or a Sample Assignment Review!