photo

Kundera


Actif depuis 2017

Followers: 0   Following: 0

Statistiques

All
MATLAB Answers

7 Questions
0 Réponses

Cody

0 Problèmes
21 Solutions

RANG
144 544
of 300 904

RÉPUTATION
0

CONTRIBUTIONS
7 Questions
0 Réponses

ACCEPTATION DE VOS RÉPONSES
85.71%

VOTES REÇUS
0

RANG
 of 21 108

RÉPUTATION
N/A

CLASSEMENT MOYEN
0.00

CONTRIBUTIONS
0 Fichier

TÉLÉCHARGEMENTS
0

ALL TIME TÉLÉCHARGEMENTS
0

RANG
23 222
of 171 602

CONTRIBUTIONS
0 Problèmes
21 Solutions

SCORE
230

NOMBRE DE BADGES
1

CONTRIBUTIONS
0 Publications

CONTRIBUTIONS
0 Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS
0 Point fort

NOMBRE MOYEN DE LIKES

  • Thankful Level 3
  • Solver

Afficher les badges

Feeds

Afficher par

Question


How can I create a vector of markers for a scatter plot
Hey, I am trying to plot the following: y = randi(10, 12, 3); x = randi(10, 12, 3); figure scatter (x(:,1), y(:,1...

plus de 7 ans il y a | 2 réponses | 0

2

réponses

A résolu


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

presque 8 ans il y a

A résolu


Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

presque 8 ans il y a

A résolu


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

presque 8 ans il y a

A résolu


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

presque 8 ans il y a

A résolu


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

presque 8 ans il y a

A résolu


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

presque 8 ans il y a

A résolu


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

presque 8 ans il y a

A résolu


find the surface area of a cube
given cube side length x, find the surface area of the cube, set it equal to y

presque 8 ans il y a

A résolu


Make a 1 hot vector
Make a vector of length _N_ that consists of all zeros except at index _k_, where it has the value 1. Example: Input ...

presque 8 ans il y a

A résolu


MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

presque 8 ans il y a

A résolu


Convert yards to feet
The goal of this script is to convert a value given in yards to feet.

presque 8 ans il y a

A résolu


Is my wife right?
Regardless of input, output the string 'yes'.

presque 8 ans il y a

A résolu


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

presque 8 ans il y a

A résolu


length of a vector
Find twice the length of a given vector.

presque 8 ans il y a

A résolu


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

presque 8 ans il y a

A résolu


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

presque 8 ans il y a

A résolu


Add two numbers
Given a and b, return the sum a+b in c.

presque 8 ans il y a

A résolu


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

presque 8 ans il y a

A résolu


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

presque 8 ans il y a

A résolu


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

presque 8 ans il y a

A résolu


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

presque 8 ans il y a

Question


Storing for loop nested value in a vector
Hi, I have the following nested for loop: for i=0:3 for ii=0:3 for iii=0:3 f = (i/2) + (ii/3) + (iii...

environ 8 ans il y a | 1 réponse | 0

1

réponse

Question


How to terminate the evaluation of a function when the output are valid?
Hi, I have a function which should print out 2 output. This function is based on some input given by the user (using the input f...

plus de 8 ans il y a | 1 réponse | 0

0

réponse

Question


How to shift the vector element inside of the vector?
Is there any fast way I can shift a vector, for example given: a = [1 2 3 4 5] How can I shift of two positions the vector...

plus de 8 ans il y a | 3 réponses | 0

3

réponses

Question


Display multiple output (integers and string) using fprintf
Hi, I am trying to display something like '23 Celsius equal to 296,15 Kelvin' as the final output of a function that does this c...

plus de 8 ans il y a | 1 réponse | 0

1

réponse

Question


Store a variable from prompt user input
Hi, I have this function which display a request in the prompt and asks user to input a number. The function then repeats unti...

plus de 8 ans il y a | 1 réponse | 0

1

réponse

Question


How to limit the user input to a specific range?
Hi, I want to print in the command prompt "Enter the length in meters" adding a limitation that the input must be between o to ...

plus de 8 ans il y a | 1 réponse | 0

1

réponse