Community Profile

photo

Seba.V


Last seen: 10 jours ago
24 total contributions since 2019

Seba.V's Badges

  • Thankful Level 2

View details...

Contributions in
View by

Question


How to graph plots with different value variables?
Hi there! I am trying to find a way to graph multiple plots in one figure by canging the parameters using a for loop. My appro...

4 mois ago | 1 answer | 0

1

answer

Question


How to use plot3 and a for loop to gradually plot the 3D graph of values?
Hello there! I have 3 arrays describing a 3D motion XYZ. I would like to plot them gradually to generate a "simulation" of the ...

4 mois ago | 1 answer | 0

1

answer

Question


how to display two colours in one graph?
Hello everyone, I first use cat() to define the color from RGB values and then I am trying to plot the colors of two differnet...

5 mois ago | 1 answer | 0

1

answer

Question


how extract specific values from matrix and build separate arrays?
Hi there! I have a function that generates a 4x4 matrix with different values at every iteration (100 matrices all up). I then ...

5 mois ago | 1 answer | 0

1

answer

Question


How to have use int() in a for loop?
Hi there The goal of this loop is to plot the value of A over a defined set of angles values al. I believe the integrating fun...

5 mois ago | 2 answers | 0

2

answers

Question


How to group array values over threshold?
Hi there Given a set of values in an array i would like to split the arrays values in 2 groups. One holds the values of the arr...

5 mois ago | 1 answer | 0

1

answer

Question


How can get a better Polynomial out of this data?
Hello everyone, I am trying to obtain a sensible polynomial out of the following potted data. It seems to me that the results I...

6 mois ago | 1 answer | 0

1

answer

Question


How to start a plot on the same axis at a different value?
Hi guys, I am trying to plot two different linear equations functions and the sum of the two together. However, I would like ...

11 mois ago | 1 answer | 0

1

answer

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

environ un an 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...

environ un an ago | 3 answers | 0

3

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

environ un an 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!...

environ un an 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) ...

environ un an 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...

environ un an 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...

environ un an 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 an 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 an 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 an 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 an 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 an 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 un an 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 un an 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 un an 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 un an ago | 2 answers | 0

2

answers