I'm using octave version 3.2.4 and ubuntu 10. ![]() See M file and Function created below that doesn't work when accessed clear all, clc,clf,ticįunction below: function =rtpsa(sigarray,deg_to_shift)Īrray_phase_shift_div_num=360/mod(deg_to_shift,360) %keep at 360 to get correct deg angles Title(str_title,'Interpreter','none') %turns of latex interperter so I can use underscores my way Viewed 921 times 2 I have a working matlab/octave m file but when. ![]() See workng M file below: clear all, clc,clf,ticĪa_sig_combined_L=zeros(1,length(fs)) %need to reset or will get noise at the endĬycle_permute_lt = k) Īrray_phase_shift_div_num=360/mod(180,360) %keep at 360 to get correct deg anglesĪrray_phase_shift=round(fs/array_phase_shift_div_num) %will keep within 360 degsĪ_L=cycle_permute_lt(sigarray, ii+array_phase_shift) Īa_sig_combined_L = aa_sig_combined_L + a_L I have a working matlab/octave m file but when I convert the M file to a function and run it I get an error in the function saying 'function name' undefined near line 7 column 16.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |