how to convert a matrix to a more data matrix?

1 回表示 (過去 30 日間)
masoud avaznejad
masoud avaznejad 2020 年 8 月 27 日
コメント済み: masoud avaznejad 2020 年 8 月 28 日
hello every body
i have plotted thees data
now i want to have more points(more x and more y)
how i can i do that?
clc;
clear;
close all;
x=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24];
y=[0,0,0,0,0.00332812794895371,0.497839135697320,1.98730498411229,3.68649138870512,5.26833130432260,6.65309642084821,7.52596016798571,7.87288100734659,7.72402047250485,7.03186688442338,6.01361607877631,4.65738228741286,3.07663320404878,1.46230367941451,0.221349612102121,0,0,0,0,0];
plot(x,y);

採用された回答

Cris LaPierre
Cris LaPierre 2020 年 8 月 27 日
I would look into the interp1 function.
  1 件のコメント
masoud avaznejad
masoud avaznejad 2020 年 8 月 28 日
thank you criss
it worked

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrices and Arrays についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by