How to make data of equal array length?
12 views (last 30 days)
Show older comments
Nisar Ahmed
on 31 Aug 2022
Commented: Abderrahim. B
on 31 Aug 2022
Hi,
I have following data and how I can make FD and AD of equal size of N?
FD = 0:0.225399;
AD = 0:0.004045;
N = 1:1:115;
0 Comments
Accepted Answer
Abderrahim. B
on 31 Aug 2022
Hi!
Try this:
N = 1:1:115 ;
size(N)
nL = length(N) ;
FD = linspace(0,0.225399, nL) ;
size(FD)
AD = linspace( 0, 0.004045, nL) ;
size(AD)
2 Comments
More Answers (0)
See Also
Categories
Find more on Matrices and Arrays 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!