Community Profile

photo

Seba.V


16 total contributions since 2019

Seba.V's Badges

  • Thankful Level 2

View details...

Contributions in
View by

Question


how can I plot a unit step function?
How can i plot a unit step function or a piecewise function in Matlab? ie: h(t)=u(t-2)-u(t-4)? or another example: h(t)={0 ...

27 jours ago | 1 answer | 0

1

answer

Question


How can I compare a set of variables?
Given a set of variables: x1= 1; x2= 3; x3= 4; x4= 3; x5= 3; x6= 1; x7=2; Is there a way in MATLAB to scan through the v...

27 jours ago | 2 answers | 0

2

answers

Question


how can I print the plus automatically when using sprintf?
I have noticed that when using sprintf the plus is not displayed, can anyone help me find a solution? i just need to print the v...

27 jours ago | 1 answer | 0

1

answer

Question


how can I compare the length of two arrays?
Given a= [3 3] and b= [ 1 2 2 3 3 4] how can i compare the arrays to see how much bigger is b compared to a? ans= 4 Thank you!...

27 jours ago | 1 answer | 0

1

answer

Question


How to generate a set of variables with increasing numbers related to the indices of another array?
Given: x=[3 1 2] y=[1 1 1] Is there a way to generate some code to do something like this in MatLab? x1=y.*x(1) x2=y.*x(2) ...

27 jours ago | 1 answer | 0

1

answer

Question


how to multiply values between arrays columns to rows and generate a new vector form each of the multiplication?
given x= [ 1 1 1 ] and y=[ 1 2 3 ] how can I generate a code that will multiply each column value of x by each row of y and sote...

27 jours ago | 1 answer | 0

1

answer

Question


How can I generate an array that keeps all the values related to specific indices keeps the zero as reference value?
Given the array x=[ -2 -1 0 1 2 ] with respective array y=[2 1 3 5 4] and a value n=2 How can I generate a code that divides a...

28 jours ago | 1 answer | 0

1

answer

Question


how do I relate two arrays with a reference point ?
Given array y=[1 2 3 5 7] and x= [-2 -1 0 1 2 ] I need to generate a code that by inserting n number of zeroz between the y vect...

environ un mois ago | 2 answers | 0

2

answers

Question


How can I expand a array with with even zero intervals in between?
Suppose I have an array a=[1 2 3], how can i generate a code that would add x-amout of zeros in between each value of the origin...

environ un mois ago | 1 answer | 0

1

answer

Question


How can I shift a vector numerically to the right (or the left) by adding zeros to the side of the array?
Supposing I have a vector x=[1 2 3] and I need it to shift it to the right of two integers how can i generate a new vector x1=[0...

environ un mois ago | 1 answer | 0

1

answer

Question


how can I shift a discrete signal (in vector form) on the x axis?
By having the following graph how can i write a function to simulate the shift of the hole set of values to the left or the righ...

environ un mois ago | 2 answers | 0

2

answers

Question


how can I check if a specific value in a matrix is an integer?
for i=14:20 A=[1 1 1; 10 6 2;0 1 0]; B=[50; 360; i]; C=A^-1*B; y=C(1,1); x=C(3,1); if y/round(y)==...

environ un mois ago | 2 answers | 0

2

answers

Answered
How do I write an excel file?
Thank you I didn't know that it wouldn't work on Mac. how can I convert the data into a table?

environ 2 mois ago | 0

Question


How do I write an excel file?
I am trying to write the folowing excel file but get this error message and I don't know why. See attached screen shot. Thank ...

environ 2 mois ago | 2 answers | 0

2

answers

Question


Increasing numerator and denominator of vectors
How do I generate a vector of the form 0, 1/2, 2/3, 3/4, 4/5...9/10?

environ 2 mois ago | 1 answer | 0

1

answer

Question


How can I make a vector divide 1 by increasing numbers?
how can I generate a vector with values 1,1/2,1/3...1/10?

environ 2 mois ago | 2 answers | 0

2

answers