Feeds
提问
print decimal with comma instead of point
Hello, I need to save a .txt file with data of a matrix M like 1 1 -52.56 -92.20 28.94 1 2 -22.57 -92.19 28.01 2 1 -...
11 years 前 | 1 个回答 | 0
1
个回答已回答
How can I extract arrays from a structure?
try to use cell variable for Q as: Q{length(vals(i).data(:,7)),i}= vals(i).data(:,7)
How can I extract arrays from a structure?
try to use cell variable for Q as: Q{length(vals(i).data(:,7)),i}= vals(i).data(:,7)
11 years 前 | 0
已回答
How to search the continuous values with maximal size in a vector ?
I wrote this function: function y=continuous(a) n=length(a); for i=1:n-1 if diff(a(i:i+1))==1 z(i)=...
How to search the continuous values with maximal size in a vector ?
I wrote this function: function y=continuous(a) n=length(a); for i=1:n-1 if diff(a(i:i+1))==1 z(i)=...
11 years 前 | 0
已回答
How to write m file
try this: function [y] = part_sum_fs(a,b,t) a_0=a(1); a_1=a(2); a_2=a(3); b_1=b(1); b_2=b(2); y=a_0+a_1*cos(t)+b_...
How to write m file
try this: function [y] = part_sum_fs(a,b,t) a_0=a(1); a_1=a(2); a_2=a(3); b_1=b(1); b_2=b(2); y=a_0+a_1*cos(t)+b_...
12 years 前 | 0