Home > Common Problem > How to use stem function in matlab

How to use stem function in matlab

藏色散人
Release: 2020-02-18 10:09:34
Original
25077 people have browsed it

How to use stem function in matlab

Stem function usage in matlab

stem(Y) Convert the data sequence Y from the x-axis to the data value according to Drawn in a stem-like form, terminating in a circle. If Y is a matrix, draw each column in a separated manner.

stem(X,Y) draws the data sequence Y at the specified point of X.

stem(...,'filled ') Draw the stem in a solid manner.

stem(...,'LINESPEC') Draws the stem and its mark according to the specified line type

Routine:

a = rand(10,1);
figure;
stem(a,'filled')
Copy after login

How to use stem function in matlab

For more programming-related content, please pay attention to the Programming Tutorial column on the php Chinese website!

The above is the detailed content of How to use stem function in matlab. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template