Solved


Find out rooms, peak to peak, average for a square wave.
Find out rms, peak to peak, average for a square wave from peak value. <http://www.rfcafe.com/references/electrical/square-w...

11 years ago

Solved


Triple function composition
Given three functions f,g and h, create the composed function y=f(g(h)). Example f = @(x) x+1 g = @(x) x/2 h = @(x) ...

11 years ago

Solved


Compute taylor series.
Compute the taylor series for f(x)=e^x up to n terms; eg: x=20 n=40 need to compute the taylor series for f(x) up t...

11 years ago

Solved


Volume of Cylinder
Compute the Circumference of a Cylinder given it's radius and height.Here x is the radius and y is the height

11 years ago

Solved


create square matrix of stars.Given z where rows and columns equal to max of z
create square matrix of stars.Given z where rows and columns equal to max of z

11 years ago

Solved


Calculate the logarithm of number
Calculate the logarithm of number x

11 years ago

Solved


Form Blocks in a 1D array
Lets say I have an array of size (10,1); I want to divide it into the num number of blocks which are given by user no_of_b...

11 years ago

Solved


Look and say Conway's sequence
In mathematics, the look-and-say sequence is the sequence of integers beginning as follows: 1, 11, 21, 1211, 111221, 312211, ...

11 years ago

Solved


Esoteric Trigonometry
From Wikipedia: "All of the trigonometric functions of an angle θ can be constructed geometrically in terms of a unit circle cen...

11 years ago

Solved


Long-digit Subtraction
Suppose you need to subtract a very large integer from another integer. <http://www.mathworks.com/matlabcentral/cody/problems/56...

11 years ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. So if input x is x = [1 2 3 5] then the output y should be 11.

11 years ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. So if input x is x = [1 2 3 5] then the output y should be 11.

11 years ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. So if input x is x = [1 2 3 5] then the output y should be 11.

11 years ago

Solved


Fraction of a fraction of a ...
One sort of brainteaser problem is a math problem wherein you are asked what the given fraction of a fraction of a ... number is...

11 years ago

Solved


De-primed
Write a function that will multiply every prime number in the array or matrix by two, leaving all other numbers the same, and re...

11 years ago

Solved


Evened up (or not)
You will be provided with an array or matrix that contains various numbers, in addition to an evening variable, e, set to 1 or 0...

11 years ago

Solved


How close to a hole
Suppose you have a description of good places (ones) and bad places (zeros). You want to know your distance from a bad place (in...

11 years ago

Solved


given number is power of n or not?
Check weather The input is power of n or not? for example x=8,n=2 --> true x=6,n=2 --> false

11 years ago

Solved


With apologies to William Blake
Coder Coder, typing fast Sitting at your desk, aghast. What immortal MATLAB script will solve this problem, nice and qu...

11 years ago

Solved


Accessing value of variable whose name is stored in another variable as string.
Accessing value of variable whose name is stored in another variable as string. for example: var1=n; var2='var1'; %Assigning...

11 years ago

Solved


Convert Decimal Number to Hex number (including non integer value)
Convert Decimal Number to Hex number (including non integer value) E.X. (2598.675) in decimal = A26.ACCC in hexa

11 years ago

Answered
Random Gaussian Surface Generation
You may use something like: N = [500 500]; % size in pixels of image F = 3; % frequency-filter width [X,Y] = nd...

11 years ago | 2

Answered
Why does the time scale for a ifft depend on the frequency interval of the frequency signal?
If you have a signal x with N samples acquired at a sampling rate Fs, then: 1) The time axis of your vector x (the time ass...

11 years ago | 0

Answered
Finding the "center integers" of an array
x = [1 2 3 10 11 12 15 16 17 20 21 22 23 24 30]; y = cellfun(@mean,mat2cell(x, 1, diff(find(diff([nan x nan])~=1))));

11 years ago | 0

Answered
Finding the "center integers" of an array
x = [1 2 3 10 11 12 15 16 17 20 21 22 23 24 30]; y = x(floor(convn(find(diff([nan x nan])~=1),[1 1]/2,'valid')));

11 years ago | 0

Answered
Stop the execution of a function with a push button (GUIDE)
See <http://www.mathworks.com/matlabcentral/answers/142147-gui-push-button-problem this related question> Using drawnow withi...

11 years ago | 3

| accepted

Solved


Write a function man that takes a row vector v and returns a matrix H as follows..
Write a function called man that takes a row vector v as an input and returns a matrix H whose first column consist of the eleme...

11 years ago

Solved


Increase monotonically
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

11 years ago

Solved


Test if a number is numeric or not
Test if a number is numeric or not

11 years ago

Solved


Stress-Strain Properties - 1
This is the first in a series of problems regarding mechanics of materials, in particular, material properties drawn from stress...

11 years ago

Load more