Community Profile

photo

Kalpha.mc


Last seen: 3 years ago Active since 2020

Statistics

  • Thankful Level 2
  • Thankful Level 3

View badges

Content Feed

View by

Question


How to code so that the person can not press enter to continue?
So i have this for loop with an if statement into it. I have a few questions in my code but you seem to be able to by pass getti...

3 years ago | 1 answer | 0

1

answer

Question


How do i make input correct to be both lower and uppercase?
I need to find out how to make this if statment to accept the imput as capital or lower case c. Could someone please help me ou...

3 years ago | 1 answer | 0

1

answer

Question


How to Substitute an array into an equation and solve it ?
So if i had a = [1 2 3] b = [4 5 6] c = [7 8 9] and the equation is ax^2+bx+c = 0 How would i substitude the array and solve f...

3 years ago | 1 answer | 0

1

answer

Question


How to i make it display correct for the right answer?
diagonal = true; for index = 1:1 disp(' straight , sideways , diagonal') x = input(' Which way does checker ...

3 years ago | 1 answer | 0

1

answer

Question


How to find the max number in a structure array?
I am trying to get it to find the max lucky number but instead of diplaying the number i would i it to diplay the name witht the...

3 years ago | 1 answer | 0

1

answer

Question


How to use a for loop to create a table to display special characters.
I need to get the rest of the numbers and characters in between? for t = 1 between = (180:1:200); char = char(between);...

3 years ago | 1 answer | 0

1

answer

Question


How to find a the point where the loop is broken?
I need to find where the diffence starts to be less then 0.01 which should me n = 12 But i can't seem to make it show up by it...

3 years ago | 1 answer | 0

1

answer

Question


creating a loop to generate a plot
I don't quite undertsnad this question could i please get some help? Create a for loop to generate the first 20 terms of the ...

3 years ago | 1 answer | 0

1

answer

Question


How to form an array with the input values
%How would i form an array if i had 5 inputs like this of random number % displayed at the end. clc,clear x = 12; num = 0...

3 years ago | 1 answer | 0

1

answer

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

3 years ago | 1 answer | 0

1

answer

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

3 years ago | 1 answer | 0

1

answer

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

3 years ago | 1 answer | 0

1

answer

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

3 years ago | 1 answer | 0

1

answer

Question


Creating a function called z
No iputs or outputs then display ASCII art art ----- ;)

3 years ago | 0 answers | 0

0

answers

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

3 years ago | 1 answer | 0

1

answer

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?

3 years ago | 2 answers | 0

2

answers

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.

3 years ago | 1 answer | 0

1

answer

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

3 years ago | 1 answer | 0

1

answer

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?

3 years ago | 1 answer | 0

1

answer

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

3 years ago | 1 answer | 0

1

answer

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

3 years ago | 1 answer | 0

1

answer

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

3 years ago | 1 answer | 0

1

answer

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

3 years ago | 1 answer | 0

1

answer