フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

i'm getting vertcat and horizon error in a=[z A z] ..i dont know why?? pls tell me how to resolve

1 回表示 (過去 30 日間)
Pavithra R
Pavithra R 2017 年 10 月 10 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
function [ecg_h,temp]=R_detect1(data)
fs=200;
gr=1;
% x=data(:,1);
y=data;
[r c]=size(y);
temp=[];
A=y;
z=zeros(100,1);
zc=A(1);
A=[z A z];
s = A;

回答 (1 件)

Cedric
Cedric 2017 年 10 月 10 日
I'm not sure what you want to achieve with this, but I'd say that
z=zeros(size(A,1),1);
would at least make dimensions match.
  2 件のコメント
Cedric
Cedric 2017 年 10 月 10 日
My impression is that you are trying to use a function that you don't understand, and you are passing the wrong input(s).
We cannot spend all the time that it would require to adapt it so it is able to process your input. I'd suggest that you try to understand exactly for what type of inputs it was designed.
Image Analyst
Image Analyst 2017 年 10 月 12 日
That's asking us a bit much to learn/analyse all that code, especially when you didn't even provide the data, which pretty much prevents us from running the code.

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by