Community Profile

# Kalpha.mc

Last seen: más de 1 año ago Active since 2020

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

más de 1 año ago | 1 answer | 0

### 1

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

más de 1 año ago | 1 answer | 0

### 1

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

más de 1 año ago | 1 answer | 0

### 1

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

más de 1 año ago | 1 answer | 0

### 1

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

más de 1 año ago | 1 answer | 0

### 1

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

más de 1 año ago | 1 answer | 0

### 1

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

más de 1 año ago | 1 answer | 0

### 1

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

más de 1 año ago | 1 answer | 0

### 1

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

más de 1 año ago | 1 answer | 0

### 1

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

más de 1 año ago | 1 answer | 0

### 1

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

más de 1 año ago | 1 answer | 0

### 1

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

más de 1 año ago | 1 answer | 0

### 1

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

más de 1 año ago | 1 answer | 0

### 1

Question

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

más de 1 año ago | 0 answers | 0

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

más de 1 año ago | 1 answer | 0

### 1

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?

más de 1 año ago | 2 answers | 0

### 2

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.

más de 1 año ago | 1 answer | 0

### 1

Question

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

más de 1 año ago | 1 answer | 0

### 1

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?

más de 1 año ago | 1 answer | 0

### 1

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

más de 1 año ago | 1 answer | 0

### 1

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

más de 1 año ago | 1 answer | 0

### 1

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

más de 1 año ago | 1 answer | 0