Resuelto


Produce a cosine wave
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>

alrededor de 10 años hace

Resuelto


Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

alrededor de 10 años hace

Resuelto


Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

alrededor de 10 años hace

Resuelto


Program an exclusive OR operation with logical operators
Program an exclusive or operation *without* using the MATLAB function xor. Use logical operators like |, &, ~, ... instead. ...

alrededor de 10 años hace

Resuelto


Remove DC
Input x is the sampled signal vector, may have both AC and DC components. Output y should not contain any DC component. Examp...

alrededor de 10 años hace

Resuelto


Evil Number
Check if a given natural number is evil or not. Read more at <https://oeis.org/A001969 OEIS>.

alrededor de 10 años hace

Resuelto


Narcissistic number ?
Inspired by Problem 2056 created by Ted. In recreational number theory, a narcissistic number is a number that is the sum of ...

alrededor de 10 años hace

Resuelto


Triangle sequence
A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...

alrededor de 10 años hace

Resuelto


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

alrededor de 10 años hace

Resuelto


Repeat string n times
* You will be provided a string (s = 'string1_') * a starting point (num1 = 6) (always bigger than or equal to zero) * and n (...

alrededor de 10 años hace

Resuelto


Is it column vector?
Is it column vector? Check vector for column vector without using iscolumn function.

alrededor de 10 años hace

Resuelto


replace empty matrices with '[]'
for example a=1;a(:,1)=[]; returns a = Empty matrix: 1-by-0 use this as the input,and the output should be '[]...

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


Matrix Generation.
if input n =1, generate a matrix y = [1]

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


Let's see how peculiar we can get
The task is to multiply two numbers. But do it in the most peculiar possible way.

alrededor de 10 años hace

Resuelto


find the relation...
if given input is 1, output is 4. if input is 55, output is 3136.

alrededor de 10 años hace

Resuelto


Find the area of a rectangle if length of the diagonal is given.
if length of a diagnonal in rectangle is 5. Its area is 12.

alrededor de 10 años hace

Respondida
Problem writing in data into a csv using fprintf
Have you tried <http://www.mathworks.com/help/matlab/ref/csvwrite.html csvwrite> or <http://www.mathworks.com/help/matlab/ref/d...

alrededor de 10 años hace | 0

Resuelto


Pancake sorting - minimum flips.
Sort a stack of pancakes by flipping them using spatula. * There are _N_ pancakes with diameters _1:N_. * Spatula can be ins...

alrededor de 10 años hace

Resuelto


Lightning strike distance: Writing a function
Write a function named LightningDistance that outputs "distance" given input "seconds". Seconds is the time from seeing lightnin...

alrededor de 10 años hace

Resuelto


Extract leading non-zero digit
<http://en.wikipedia.org/wiki/Benford%27s_law Benford's Law> states that the distribution of leading digits is not random. This...

alrededor de 10 años hace

Resuelto


Connect blocks in a model
Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...

alrededor de 10 años hace

Problema


Quine : write a quine in MATLAB
Quine is a type of program whose output matches the source code. See: <https://en.wikipedia.org/wiki/Quine_(computing) Quine in...

alrededor de 10 años hace | 3 | 13 solvers

Respondida
Can this loop be sped up significantly?
It seems like you are trying to calculate a 2-tap FIR filter (if your lagsTE = 1) or lagsTE+1 tap FIR filter with lagsTE-2 coeff...

alrededor de 10 años hace | 0

Respondida
How to convert floating point filter coeffiecients ( generated from FDA tools) to fixed point without Fixed point toolbox
Did you try the fixed point conversion tool ? It generates fixed point MATLAB code as intermediate output during generation o...

alrededor de 10 años hace | 0

| aceptada

Respondida
I wanna create vector of structures
You may also try, in addition to Azzi's code, ii=1:10; vec = arrayfun ( @(i) struct('a',i, 'b',20-i, 'c',i+3), ii ); ...

más de 10 años hace | 0

Respondida
How set minimum peak height (threshold of peak height)
Turns out in your case there is an option called *MinPeakHeight* in the *findpeaks* documentation. Check this out, <http://ww...

más de 10 años hace | 0

Respondida
Why is my RGB image not displaying as expected using imshow?
Have you tried using a, *colormap* >> doc colormap may help.

más de 10 años hace | 0

Respondida
Read in a plain/text file in Matlab
Original question is answered by # doc fileread See split manipulation functions # doc strsplit # doc regexprep

más de 10 años hace | 0

Cargar más