How to plot a smooth curve with eliminating NAN and complex datapoint?

2 ビュー (過去 30 日間)
Syed Muhammad Hassan Mehdi
Syed Muhammad Hassan Mehdi 2018 年 1 月 8 日
close all clear clc Y=xlsread('PET'); Y1=Y(:,1); Xp=cumtrapz(Y(:,2)); Xp1=trapz(Y(:,2)); X=Xp/Xp1; W=log(X); W1=log(W); T=log(Y1); n=polyfit(T,W1,1); Z=W/(Y1^n);
  1 件のコメント
Syed Muhammad Hassan Mehdi
Syed Muhammad Hassan Mehdi 2018 年 1 月 8 日
Above is the code I want to find value of n and Z but my data points are undefined in W. Removing the undefined data points. My datapoint are unequally spaced. Any help will be highly regarded. Have been stuck on this since two days Thanks in advance

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

回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by