A résolu


Convert float to base N
The matlab function dec2base converts a positive integer number to a specified base. Extend it so that it works with non intege...

presque 10 ans il y a

A résolu


Fill the matrix - 1
Input is a column vector and n. n columns will be added to the left of the input column. The first value of the row is the s...

presque 10 ans il y a

A résolu


Multi-line comments
* Fix the syntax errors.

presque 10 ans il y a

A résolu


Logical indexing: Player scores
Player 1 and player 2 take turns playing a game. Row array gameScores contains the scores of player 1, then player 2, then playe...

presque 10 ans il y a

A résolu


Is my wife really right?
For every input, output the string 'yes' once. Example: [yes1, yes2] = YesSheIs('Am I right?', 'Do you love me?') yes1 = '...

presque 10 ans il y a

A résolu


Integer indexing array: Shift left
Write a *single* statement that shifts row array attendanceValues one position to the left. The rightmost element in attendanceV...

presque 10 ans il y a

A résolu


Cody meets Xiangqi: foresee the unseen (Part 1)
This is the first part of the Xiangqi series. The second part in this series is: <http://www.mathworks.com/matlabcentral/cody/pr...

presque 10 ans il y a

A résolu


Find elements of set A those are not in set B
Given two sets of data A and B. Find elements of A those are not in set B. ...

presque 10 ans il y a

A résolu


Double colon operator: Increment by x
* Construct a row array countValues from 0 to 25, elements incremented by incrementValue. Ex: If incrementValue is 5, countVa...

presque 10 ans il y a

A résolu


Coordinate geometry
Assign pointsDistance with the distance between point (x1, y1) and point (x2, y2). The distance is calculated by: Distance =...

presque 10 ans il y a

A résolu


Indexing an array element
* Assign currentStudent with the second element of array testScores. _Reminder: Array indexing starts with 1._

presque 10 ans il y a

A résolu


Character variable: Compass direction
* Assign compassDirection with sensorReading's value. Both are character variables.

presque 10 ans il y a

A résolu


Comments
* Fix the syntax errors.

presque 10 ans il y a

A résolu


Fill the Matrix - 2
Input is a column vector and n. n columns will be added to the left of the input column. The first value of the row is the me...

presque 10 ans il y a

A résolu


Find the next square number
Given one or more integers n, find the next integer that is a square, for each of them. Example 1: n = 1; out = 4; ...

presque 10 ans il y a

A résolu


Maximize Non-Co-Planar Points in an N-Cube
This Challenge is to find a set with the maximum number of integer points that create planar surfaces with a maximum of three po...

presque 10 ans il y a

Problème


Maximize Non-Co-Planar Points in an N-Cube
This Challenge is to find a set with the maximum number of integer points that create planar surfaces with a maximum of three po...

presque 10 ans il y a | 0 | 6 solveurs

A résolu


Is 3D point set Co-Planar?
This Challenge is to determine if four 3D integer points are co-planar. Given a 4x3 matrix representing four x,y,z integer poin...

presque 10 ans il y a

Problème


Is 3D point set Co-Planar?
This Challenge is to determine if four 3D integer points are co-planar. Given a 4x3 matrix representing four x,y,z integer poin...

presque 10 ans il y a | 1 | 24 solveurs

A résolu


Are you in XY plane?
Take a point P as an input position Vector (x,y,z). If you are in XY plane, return 1 as an output otherwise return 0. Example...

presque 10 ans il y a

A résolu


UICBioE240 problem 1.13
Compute the following - y = x^5/(x^-1) and y = (1-(1/x^5))^-1. Have the final answer of y to equal a 1 by 2 vector.

presque 10 ans il y a

A résolu


Population growth
Assign finalPopulation with the population size given an initial population, population growth rate, and number of years. The fi...

environ 10 ans il y a

A résolu


Arithmetic array operations
* Add x to each element of array temperatureReadings.

environ 10 ans il y a

A résolu


Model a falling body
An object is falling freely from a height of 22 meters under the force of gravity. <<http://blogs.mathworks.com/images/seth/c...

environ 10 ans il y a

A résolu


Make a low pass filter
Make a first order low pass filter that will filter out the high frequency oscillations for the given input signal. The cut-off ...

environ 10 ans il y a

A résolu


Compute the step response of a DC motor
Compute the step response of a DC motor shown below <<http://blogs.mathworks.com/images/seth/cody/dc-motor.png>> The param...

environ 10 ans il y a

A résolu


Model a simple pendulum
Model a simple pendulum of length 200cm with bob of mass 100g and plot the position in degrees. The pendulum starts at 30 degree...

environ 10 ans il y a

A résolu


Make a full wave rectifier
Produce a full wave rectifier waveform for the given sine wave source. For a sine wave input, the output of the full wave rec...

environ 10 ans il y a

A résolu


Double colon operator: Counting down
* Construct a row array countValues from startValue to endValue, elements decremented by -2 Ex: If startValue is 10 and end...

environ 10 ans il y a

A résolu


Double colon operator: Counting up
* Construct a row array countValues from 1 to endValue, using the double colon operator. Ex: If endValue is 5, countValues s...

environ 10 ans il y a

Charger plus