フィルターのクリア

If A is a matrix how do I plot selected columns and or selected rows ?

3 ビュー (過去 30 日間)
johnaly7
johnaly7 2017 年 10 月 26 日
コメント済み: johnaly7 2017 年 10 月 26 日
I have a matrix A of 522x40 and another matrix B or 522x1 (they contain spectra, where A is the response and B is the wavelength.
I would like to plot on a graph the first 10 columns on my matrix together, is there a command like plot (B, A,:[1])) but for multiple columns ? or do i have to do
hold all plot (B,A,:[1]) plot (B,A,:[2]) etc ?
Many thanks in advance !!!!!!
  2 件のコメント
Stephen23
Stephen23 2017 年 10 月 26 日
Did you read the plot help? It explains how to plot columns of a matrix.
johnaly7
johnaly7 2017 年 10 月 26 日
Yes, and i got it figured out now !

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by