Community Profile

photo

Alessandro Renna


University of Salento

Active since 2013

Statistics

  • Thankful Level 1
  • First Answer

View badges

Content Feed

View by

Question


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 ago | 1 answer | 0

1

answer

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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_...

11 years ago | 0