Question

How do I make my vector length even?

How would i make line x vectors to be even to the rest. To form three different lines on the graph. Also how do you make the poi...

5 days ago | 1 answer | 0

Question

Checkerboard coloring and pieces

Hell, i need some help to make my checker board colors match and how to places peices on there. This is what i got so far. And...

8 days ago | 0 answers | 0

Question

fprintf table not aligned

My fprintf table has two numbers off that i can't seem to fix. Here is my work table = [r' c' a' s' v']; fprintf('%5.2f\t%5....

25 days ago | 1 answer | 0

Question

How to find all the numbers greater than in a certain column then all the columns

I need some help to find out how to use find to determine all the numbers greater than x in a column. Example y =[1 5 9 13 ...

25 days ago | 1 answer | 0

Question

Creating a function called z

No iputs or outputs then display ASCII art art ----- ;)

1 month ago | 0 answers | 0

Question

Creating functions with certain inputs but no outputs

How to create a function called x with two inputs. Two variables x and y then display the sum, difference , product and quotient...

1 month ago | 1 answer | 0

Question

how to create a matrix from another

How would i create a matrix that is the last column and the 2nd and 4th row of matrix x?

1 month ago | 2 answers | 0

Question

How can i sort all the rows of a matrix but one along a row

How would i sort a 15 x 5 matrix descending based on the 5th column without changing the first column.

1 month ago | 1 answer | 0

Question

Adding matrix to another matrix

How would add a matrix to the back of another matrix to form another column. example [1 4 5 6 + ...

1 month ago | 1 answer | 0

Question

Finding the max of certain columns

I have a 4x7 matrix and i am trying to find the max of the 2nd 3rd and 4th column to create a 1x3 matrix how would i do that?

1 month ago | 1 answer | 0

Question

Creating matrix with other matrix

How would you create matrix using three other matrix but extracting certain columns out of each one? a = [1 3 5 ...

1 month ago | 1 answer | 0

Question

How to get a matrix random to use from a function?

I used perms(1:3) how would i get one matrix of random such as [1,3,2] so i can use it? example- I have three eggs and i nu...

2 months ago | 1 answer | 0

Question

How to create all possible outcome of a set amount of variables?

So i have 3 numbers from 1-3. How would i create a matrix of all the possible outcome without repeating the number in each matri...

2 months ago | 1 answer | 0

Question

Looping prompt till answered correctly

I need to set a limit so the number that is inputed can not be 9 or under. with a loop that will display the prompt again if you...

2 months ago | 1 answer | 0