Question

Display just output of function and not the "ans" from the function.

For this simple function that I have: % This code takes in two inputs, Z and X. % eg. Z = [ 2; 7], X = [ 1, 1; 1, 2]. ...

mer än 7 år ago | 1 answer | 0

Question

single "x-axis graph axis numbers code" to work multi plots

In the code below, is it possible to implement changing the x-axis numbers to display in significant figures instead of the expo...

mer än 7 år ago | 1 answer | 0

Question

Multi Plot with 8 (eight) plots in figure

Hello, I have 8 plots and would like for them to show up like this in my figure: <</matlabcentral/answers/uploaded_files/3...

mer än 7 år ago | 2 answers | 0

Question

Add a decade plots to graph

From the attached simulated data file, I wanted to add decade plots as follows: # 30 dB per decade from 100 to 3000 # 20 dB ...

nästan 8 år ago | 0 answers | 0

Question

Plot 3 graphs on same figure

Hello, From the code below, I wanted to get 3 plots on the same figure: # Plot 1 will run the x time-axis from 1 to 10 vs ...

nästan 8 år ago | 1 answer | 0

Question

Area under curve that is plotted from a txt file

This question is building on the solution given <http://www.mathworks.com/matlabcentral/answers/231366-shade-area-under-a-semilo...

nästan 8 år ago | 1 answer | 0

Question

shade area under a semilog plot

In the code below, I would like to shade the area between freq = 300 to freq = 3000: freq = 100:1:10000; pnoise = -60:-....

nästan 8 år ago | 3 answers | 1

Question

shade area under curve between 2 x-axis limits

For the code below: x=0:pi/50:2*pi; y1=x.^2; baseval1=20; baseval2=3; clf; H1=area(x,y1,baseval1); H=area...

nästan 8 år ago | 1 answer | 2

Question

search for substring in cell array of strings

Hello, I have this cell array of strings: A = { 'This is how we do the shuffle', 'All night long there', 'In the club'};...

ungefär 8 år ago | 1 answer | 0

Question

summation without using any loop algorithm

Hello, I am trying to implement the summation for a square wave without the use of loops. I have the following code: <</m...

ungefär 8 år ago | 1 answer | 0