Problems in for loop with risetime: Signal processing toolbox
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Bearbeitet: toka55 am 24 Okt. 2017
I'm trying to calculate the rise time of 10000 pulses given as a matrix of size 80x10000.
I have tried to use the function "risetime" from signal processing toolbox. For calculation I use this code:
PS2(:,k) = risetime(PS1(:,k),80);
As a result I get the error message: In an assignment A(:) = B, the number of elements in A and B must be the same.
The resulting matrix PS2 is of size 1x1011 but it should have 1x10000.
What is the problem?
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!