# Stephan Ciobanu

Last seen: 10 months ago Active since 2020

Followers: 0   Following: 0

All

#### Feeds

View by

Could someone explain this straight line function?
Hi! a(1) % extracts the first element of array a a(2) % extracts the second element of array a if a is an array: with ...

3 years ago | 1

| accepted

How to get Sum the values of positive even elements from vector x using only one command?
% Hi! % You can try this: My_sum = sum((x(2:2:end)>0).*x(2:2:end));

3 years ago | 1

How could I use display function for this?
% Hi! % if dt*t gives you a numeric array % you can use: disp(num2str(dt*t)) % or fprintf('My result is dt*t = %6.5f \n',...

3 years ago | 0

How to interpolate under specific condition?
Hi, this code should work: The file Daily data.xlsx must be in the same directory as your script! DATA = importdata('Daily dat...

3 years ago | 0

| accepted

Need Help..............Error using stem (line 43) X must be same length as Y.
xaa is an 1x101 array and t1 is 1x6001 array. Put t1 instead of t when you define xa11,xa22,xa33,xa44 xa11=2*sin(f1*pi*t1); ...

3 years ago | 0

| accepted

Diagonally Dominant Check & Change for Coefficient Matrix and Result Vector
Hi! This code should work for your requests: By the way, I'd rather calculate Where is the Gauss-Seidel matrix iteration, a...

3 years ago | 1

Graph is blank. Why?
you can try to specify the interpolation method: mmf = interp1(flux_data, mmf_data, flux ,'pchip') % or mmf = interp1(f...

3 years ago | 0