What do these different colors of stem plot indicates?

조회 수: 1 (최근 30일)
Vishwaraj Manur
Vishwaraj Manur 2019년 11월 14일
댓글: Vishwaraj Manur 2020년 3월 29일
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
Muhammad Usman
Muhammad Usman 2019년 11월 14일
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;

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2019년 11월 14일
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
Vishwaraj Manur
Vishwaraj Manur 2020년 3월 29일
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?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Line Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by