문제를 풀었습니다


MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

대략 11년 전

문제를 풀었습니다


MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

대략 11년 전

문제를 풀었습니다


MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

대략 11년 전

문제를 풀었습니다


MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

대략 11년 전

문제를 풀었습니다


Back to Basics - Find no. of elements in a matrix?
Let A be a m*n matrix. Find the total no. of elements in A ? (Hint - formula based) A = [1 2 3;4 5 6]; output = 6

대략 11년 전

문제를 풀었습니다


Writing a recursive math function
Complete the recursive function RaiseToPower(). Ex: If userBase is 2 and userExponent is 4, then raisedValue is assigned wit...

대략 11년 전

문제를 풀었습니다


Prime checker
Complete the recursive function to determine if a number is prime. Skeletal code is provided in the PrimeChecker function.

대략 11년 전

문제를 풀었습니다


Permutations of input vector
Find and output all permutations of given vector

대략 11년 전

문제를 풀었습니다


Create sequnce 1 4 9 16 25.........
Create sequnce 1 4 9 16 25......... upto entered input value using matlab scripting commands

대략 11년 전

문제를 풀었습니다


Output a vector which is table of 9
Output a vector which is table of 9

대략 11년 전

문제를 풀었습니다


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

대략 11년 전

문제를 풀었습니다


Low level NaN
* I have a dataset. Columns represents different variables. * A variable may start with NaN or any double type number. * If i...

대략 11년 전

문제를 풀었습니다


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

11년 초과 전

문제를 풀었습니다


Subtract 12 from x
given a number x, return y, which is x - 12

11년 초과 전

문제를 풀었습니다


Calculate trends in time series
Create a new variable that has trends in input series. If _t+1_ is bigger than or equal to _t_, than trend in _t_ will be 1, oth...

11년 초과 전

문제를 풀었습니다


radius of a spherical planet
you just measured its surface area, that is the input.

11년 초과 전

문제를 풀었습니다


Create an array (n,n) where only diagonal elements are '1' and others are '0'
Create an array (n,n) where only diagonal elements are '1' and others are '0' EX: n = 3; then Resultant array would be [ 1 0...

11년 초과 전

문제를 풀었습니다


Determine the mean of matrix
Determine the mean of matrix without using mean function Hint: use simple algorithm

11년 초과 전

문제를 풀었습니다


Replace NaNs with the number that appears to its left in the row.
Replace NaNs with the number that appears to its left in the row. If there are more than one consecutive NaNs, they should all ...

11년 초과 전

문제를 풀었습니다


Tree Height
Assign treeHeight with the tree height given the shadow length and angle of elevation. Simple geometry can compute the heigh...

11년 초과 전

문제를 풀었습니다


What's Your BMI?
Find the body mass index. For reference, please refer to Wikipedia here: <http://en.wikipedia.org/wiki/Body_mass_index body ...

11년 초과 전

문제를 풀었습니다


Matrix Construction I
Given n, construct a matrix as shown in the example below. Example For n=8, the output should look like this: 1 2 3 4 ...

11년 초과 전

문제를 풀었습니다


Changing a dd/mm/yyyy cell into a yyyymmdd int/double
Hi, i'm pretty to new to Matlab, I believe the title is self-explanatory. If anyone could help me out that would be great.

11년 초과 전

문제를 풀었습니다


make a 10x10 vector of random numbers between 1 and 1000 and convert it into a 10x10 of all zeros
function heck_yes y = randi(10,1000) Converted = zeros(y)

11년 초과 전

문제를 풀었습니다


Kinetic Energy
Given the mass m and velocity v of an object, determine its <http://en.wikipedia.org/wiki/Kinetic_energy kinetic energy>.

11년 초과 전

문제를 풀었습니다


Potential Energy
Calculate the potential energy of a rock.

11년 초과 전

문제를 풀었습니다


How fast will the rock go?
Calculate the kinetic energy of a free falling rock.

11년 초과 전

문제를 풀었습니다


Times 3 problem
When you enter the number, it should return the number multiplied by 3

11년 초과 전

문제를 풀었습니다


Hydrogens in a Saturated Hydrocarbon
Given (c) carbon atoms in a saturated hydrocarbon molecule (all single bonds), how many hydrogen atoms (h) are in the molecule?

11년 초과 전

문제를 풀었습니다


Find the largest value in the 3D matrix
Given a 3D matrix, A, find the largest value. E.g. >> A = 1:9; >> A=reshape(A,[3 1 3]); >> islargest(A) ans = 9

11년 초과 전

더 보기