Solved


Case-insensitive Character Detection
Find the index of a particular character in a string ignoring case. Example Input: x = 'aAbhhfdf' n = 'a' ...

10 years ago

Solved


Switch matrix to a column vector
for e.g. x = [1 2 3 4] y = 1 3 2 4

10 years ago

Answered
How to Resize data in column vector?
A=[0;0;0;0;0;232;222;245;342;232; 0;0;0;0;0;0;0345;323;324;345;343;0;0;0]; idx = []; for i1 = 2:length(A) if and(...

10 years ago | 0

Solved


commutative?
Given the handle to a binary function that takes two ordinary numbers, test if the function is commutative.

10 years ago

Solved


Specific toolboxes
Given a string that is the name of a MATLAB toolbox, return true if it is available on the Cody solvers evaluation system, false...

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


Calculate the h-index
H-index is a powerful tool for quantifying the scientific contribution of a researcher. H-index is defined as follows (source - ...

10 years ago

Question


Matlab Trendy - error everyday
My trendy ( <http://www.mathworks.com/matlabcentral/trendy/trends/2270 link> ) shows the following error everyday: This ...

10 years ago | 0 answers | 0

0

answers

Solved


Lucy posits that if a person were able
Lucy posits that if a person were able to somehow assess 100 percent of his or her brain capacity, [url=http://www.wakdanfc....

10 years ago

Solved


Interpolation of Hankel function
I need to interpolate a sampled function combined of Hankel and Bessel functions. (received wave of antenna) Any one has g...

10 years ago

Solved


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.

10 years ago

Solved


Area of a circle
Find the value for area of the circle if diameter is given

10 years ago

Solved


Signal Processing Basic - 1. Stretch a signal
Input vector V is a discrete time signal assuming the first sample is sampled at t=0. This signal has to be stretched in time. ...

10 years ago

Solved


remove single elements
Given a vector of integers, remove the elements that have appeared only once. The output elements should be in exact order as th...

10 years ago

Solved


grazing cows
Here is a fun problem I encountered in high school. Two cows are grazing in an enclosed square-shaped field of side length s ...

10 years ago

Solved


Find 100 from a Matrix and Replace With 0 with less computation time
pls use this matrix x = [208 40 167 180 112 70 192 215 90 19 231 100 9 100 97 100 ...

10 years ago

Solved


Diagonal of a Spiral Matrix
Write a function that will return same output as diag(spiral(n)). The only exception is that spiral and diag functions are not a...

10 years ago

Solved


birthday on same day of week
Say, Mr. X's birthday is on 20th July, 2014. It was Sunday. Determine the closest year when his birthday will again be on Sunday...

10 years ago

Solved


Product of elements in row
Product of matrix such that a=[3 3 1] b=9

10 years ago

Solved


Musical Note Interval 1 - Diatonic Scale
Assuming a simple diatonic C scale, calculate the interval (integer) between two notes (provided as strings). By applying number...

10 years ago

Solved


Clear functions with the same name in different packages independently
See the test suite. N.B.: Overwriting files or functions a.k.a. cheating is not necessary.

10 years ago

Solved


Magnet and Iron
(Inspired from <http://www.mathworks.com/matlabcentral/cody/problems/112 Problem 112: Remove the air bubbles>) Iron (atomic n...

10 years ago

Solved


Bernoulli's Equation
Bernoulli's equation states that for an incompressible fluid the following summation is constant across the flow: v^2/2 + g*z + ...

10 years ago

Solved


Text processing - Help Johnny write a letter home from camp
Johnny overuses the word 'great'. Write a script that will help him with this and future letters. If a sentence contains more ...

10 years ago

Solved


Consecutive Equation Times (of the day)
Many times throughout the day can represent mathematical equations. In this problem, we focus on the largest consecutive run of ...

10 years ago

Solved


Equation Times (of the day)
Many times throughout the day can represent mathematical equations. In this problem, we focus on times that include the four bas...

10 years ago

Solved


Power Times (of the day)
Many times throughout the day can represent mathematical equations. In this problem, we focus on times that represent powers. Fo...

10 years ago

Solved


Find the relation
Take x as input and y as output. If x=1 y=3 If x=2 y=14 If x=3 y=39 If x=4 y=84 Based on this relation find giv...

10 years ago

Solved


Square Diagonal
If n is the given number, then make a diagonal matrix of size 2*2 with the square of that number.

10 years ago

Load more