A résolu


Try 1.5.4: Celsius to Fahrenheit
Write a program to convert an input given in Celsius to Fahrenheit. Examples: Input celsiusValue = 100 Output fahrValu...

presque 13 ans il y a

A résolu


First non-zero element in each column
For a given matrix, calculate the index of the first non-zero element in each column. Assuming a column with all elements zero ...

presque 13 ans il y a

A résolu


Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

presque 13 ans il y a

A résolu


Sort complex numbers into complex conjugate pairs
Sort complex numbers into complex conjugate pairs. Example: Input x = [3-6i -1-4i -1+4i 3+6i] Sorted output = [-1 - ...

presque 13 ans il y a

Problème


Sort complex numbers into complex conjugate pairs
Sort complex numbers into complex conjugate pairs. Example: Input x = [3-6i -1-4i -1+4i 3+6i] Sorted output = [-1 - ...

presque 13 ans il y a | 0 | 134 solveurs

A résolu


Method of Common Differences part-1
Use the method of common differences to output a vector containing the initial values and the nth order difference. ex ...

presque 13 ans il y a

A résolu


Mode
Find the mode of the vector Assumption: no vector is bimodal Example 1: input=[1 2 3 4 4]; output=4 Example 2: input=[7...

presque 13 ans il y a

Problème


Mode
Find the mode of the vector Assumption: no vector is bimodal Example 1: input=[1 2 3 4 4]; output=4 Example 2: input=[7...

presque 13 ans il y a | 1 | 425 solveurs

A résolu


Duplicate a character
Duplicate a character 'n' times. Example 1: str='a' n=5 output='aaaaa' Example 2: str='*' n=3 output='***'

presque 13 ans il y a

Problème


Increment element in vector
Given a n * 2 matrix such that the first column denotes start value and second column denotes number of increments, create a out...

presque 13 ans il y a | 0 | 2 solveurs

A résolu


Convert Two Character String into a Binary Vector
Given a string "XOXXO" convert it into a binary vector. [1 0 1 1 0] Paul Berglund implemented an optimal method in <http://ww...

presque 13 ans il y a

Problème


Duplicate a character
Duplicate a character 'n' times. Example 1: str='a' n=5 output='aaaaa' Example 2: str='*' n=3 output='***'

presque 13 ans il y a | 3 | 245 solveurs

A résolu


Symmetry of vector
Determine whether the vector is symmetric or not (vector could be even or odd in length). For example: x = [1 2 3 3 2 1] ...

presque 13 ans il y a

A résolu


Is it a number?
Determine if input is numeric. If it is,output is 1; if it is not, output is 0.

presque 13 ans il y a

Problème


Symmetry of vector
Determine whether the vector is symmetric or not (vector could be even or odd in length). For example: x = [1 2 3 3 2 1] ...

presque 13 ans il y a | 10 | 1260 solveurs

A résolu


Saving MATLAB session to a file
How to save MATLAB session to a file?

presque 13 ans il y a

A résolu


Basics: Divide integers to get integer outputs in all cases
Divide integers a and b in such a way that output y is always an integer (in ceil manner)

presque 13 ans il y a

A résolu


Close MATLAB with keyboard
Close MATLAB with keyboard without using mouse

presque 13 ans il y a

A résolu


Who has power to do everything in this world?
There is only one person who is older than this universe. He is Indian version of Chuck Norris.

presque 13 ans il y a

A résolu


Convolution Power
Create the convolution-power vector from initial vector _x_ and power _n_. In other words, similar to the scalar case, raising ...

presque 13 ans il y a

A résolu


Volume of a Simplex
Return the volume of a <http://en.wikipedia.org/wiki/Simplex regular _n_-simplex> with a unit side length. Results are up to...

presque 13 ans il y a

A résolu


Create an n-by-n null matrix and fill with ones certain positions
The positions will be indicated by a z-by-2 matrix. Each row in this z-by-2 matrix will have the row and column in which a 1 has...

presque 13 ans il y a

Problème


Remove entire row and column in the matrix containing the input values
Remove the entire row and column from the matrix containing specific values. The specified value can be a scalar or a vector. Fo...

presque 13 ans il y a | 10 | 554 solveurs

A résolu


sinus function
x is the abscissa. find the absolute value of cosine of -x and the same value with changed sign.

presque 13 ans il y a

A résolu


subtract central cross
Given an n-by-n square matrix, where n is an odd number, return the matrix without the central row and the central column.

presque 13 ans il y a

A résolu


frame of the matrix
Given the matrix M, return M without the external frame.

presque 13 ans il y a

A résolu


only input
Return the output without writing any code into the function.

presque 13 ans il y a

A résolu


random binary sequence using matlab
Hi..am new to matlab..help me out in generating a binary sequence using matlab.

presque 13 ans il y a

A résolu


Volume of this donut
Given hole diameter a, and outermost diameter b, determine the volume y of the resulting donut.

presque 13 ans il y a

Question


How to draw a line of exactly 1cm in Matlab?
I need to draw a line of exactly 1cm and 1.01 cm in the figure window? Any ideas?

presque 13 ans il y a | 2 réponses | 0

2

réponses

Charger plus