What do these different colors of stem plot indicates?

3 visualizaciones (últimos 30 días)
Vishwaraj Manur
Vishwaraj Manur el 14 de Nov. de 2019
Comentada: Vishwaraj Manur el 29 de Mzo. de 2020
This is the stem plot for a complex value matrix of size 512x40. What does these different coluors indicates ?
How to unayse this stem diagrams?
What does the spacing of stem lines indicates ?
test.png
  1 comentario
Muhammad Usman
Muhammad Usman el 14 de Nov. de 2019
I hope you can get answers from the given below code.
clear all;close all; clc
fig = figure;
x = linspace(1,3);
y = sin(x);
vectors = [complex(x, y)];
stem(real(vectors),imag(vectors),'Color',[1 0 0])
hold on;

Iniciar sesión para comentar.

Respuestas (1)

Walter Roberson
Walter Roberson el 14 de Nov. de 2019
complex value matrix of size 512x40
stem() applied to real() and imag() of that is going to create 40 different stem plots. The colors of those plots are chosen automatically if you do not use the Color parameter.
  1 comentario
Vishwaraj Manur
Vishwaraj Manur el 29 de Mzo. de 2020
What does STEM plot in MATLAB indicates? what does it indicates if stem( FFT(x(t))) of a signal x(t) is drawn ? What is its importance?

Iniciar sesión para comentar.

Categorías

Más información sobre Stem Plots en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by