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 50 of 208 Ask a Question
How to zoom in/out on an axis programmatically?
Matt J · Nov 2, 2022 · figure , axes , zoom , handle graphics , Data Import and Analysis , Visual Exploration

In a figure window toolbar, there are spyglass icons that let you zoom in and out on parts of an image or plot. I'd like to know how to do this programmatically.  …

How to restrict zooming out of an image displayed
Manish_ashud · Nov 2, 2022 · zoom , out , uiaxes , image , size , MATLAB

How to restrict zooming out of an image displayed in a UIAxes component beyond the original axes limits In a figure-based axes object, if you zoom out of an image displayed using "…

Spiht compressed images over wireless channel
Hana Elenany · Nov 1, 2022 · compression , wireless , channel , decompression

I have a matlab code for spiht compression and decompression, and it is working successfully for image compression. I need to transmit the bit stream representing the compressed im…

how to change the Line width in stem
fouad fouad · Oct 31, 2022 · linewidth , stem , Graphics , 2-D and 3-D Plots , Discrete Data Plots , Stem Plots

each time i want to use stem option, i see just circles without lines and i need to change the line width from 0.5 to 1   % n=0:4; x=2*n; stem(n,x); in the figure i go to view>>pr…

Error using stem (line 43) X must be same length as Y.
praveen sebastian · Oct 31, 2022 · x , stem , Signal Processing , Signal Processing Toolbox , Transforms , z-transforms

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(f3*pi*t); xa4=sin(f4*pi*t); xa1…

Remove the circular
William · Oct 31, 2022 · stem , MATLAB , Graphics , 2-D and 3-D Plots , Discrete Data Plots , Stem Plots

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 figure and the circular parts get i…

Simulink Scope Layout and Signal Selection
ishan_singh · Oct 11, 2022 · simulink , scope Products , Simulink

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 layout to 1 column, 2 rows (2 vie…

Get a Free Consultation or a Sample Assignment Review!