Ask an expert. Trust the answer.
Your academic and career questions answered
by verified experts.
I have written this code h1336 = []; L=50; fs=8000; fb=1336; h1336 = (2/L)*cos(2*pi*fb*(0:L-1)/fs); [H,F] = freqz(h1336,1,[],fs); subplot(2,1,1) pl...
I have a vector called collection with some elements: collection = [1 2 3 4 5 6 7 8 9 0]; I also have a variable called x that stores the string 'coll...
Why does the following don't work or what needs to be added? % --- Executes on button press in pbCalculate. function pbCalculate_Callback(hObject, ...
I was just wondering if there is a way to change a particular part of a plot to another color? Suppose we have a plotted signal in BLUE and we wannan ...
I create a 3D contour plot like this: [C,h]=contour3(w,p,green1,30); t=clabel(C,h); get(t(1)); This created a 3D plot and this output: Annotation =...
I have a function that plots a graph with time on the x-axis, sometimes I want to change the scaling from s to ms or whatever. Can I somehow do that w...
I have a figure which was produced by using errorbars command. It plots the mean data and corresponding error bars. Now I would like to obtain all dat...
I've added some text to a graph which consists of text and a value. In this case: "99% Lower Confidence Limit =" and then the value. Right now, the va...
Hi! I am using the polar function to plot two coordinates on the polar coordinate system, however, I am getting a line between them, I just want two s...
I have 5 coefficents: for example: a = [2 3 4 5 6] And I want to draw a plot a1 + a2*t + a3*t^2 + a4*sin(t) + a5*cos(t) how to do this?...