필터 지우기
필터 지우기

What does x=val(1,:)?

조회 수: 21 (최근 30일)
Massilon Toniolo da Silva
Massilon Toniolo da Silva 2017년 5월 18일
댓글: Massilon Toniolo da Silva 2017년 5월 18일
I should use a Nx1 vector of doubles as my input signal x for my function. What do I get if a use: >>load (´My_Signal.m`) and then >>x =val(1,:); ?

채택된 답변

Torsten
Torsten 2017년 5월 18일
"x" is set to the first row of "val" (thus "x" is a vector of size 1xN where N is the number of columns of "val")
Best wishes
Torsten.
  댓글 수: 1
Massilon Toniolo da Silva
Massilon Toniolo da Silva 2017년 5월 18일
Hi Torsten, val is a then a variable,right? If so how and where should I declare it? Would it be also possible to use the function´s name together with (1,:)? Example: If the signal is called 'iaf1_afwm.mat' could I use 'iaf1_afwm.mat'(1,:) or something similar? I have tried many ways but it did not function.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by