解決済み


Determine whether the number is multiple of 3 or not
Let a=6 and as 6 = 2*3 which means 6 is multiple of 3; return true if a is multiple of 3,otherwise false.

7年弱 前

解決済み


Find the maxmum value of N*N Matrix
Input x=[1 2 3; 4 5 6; 7 8 9] output: y=9

7年弱 前

解決済み


Percentage profit:4
If a shopkeeper is selling W gram of salt in 1 dollar he will face r% loss. How much salt he should sell in grams to make r% pro...

7年弱 前

解決済み


number of groups
In a classroom, *n* students work on a special project and the other students work in groups of five. If there are 18 students i...

7年弱 前

解決済み


Determinants
Given a square matrix(A), find the determinant(d). For example: A = [1,3;4,5] d = 1*5-4*3 = -7

7年弱 前

解決済み


Concatenated roots
Which is the value of this infinte concatenated roots? <<https://s27.postimg.org/i4hkin7xf/Code_Cogs_Eqn.gif>> Note: If ...

約7年 前

解決済み


Determine if a four bar mechanism is of Grashof type
A four bar mechanism is composed of four links. if s is the smallest link, l the longest and p,q are the length of the other lin...

約7年 前

解決済み


Can the given sides form a triangle?
Can the three given sides form a triangle?

約7年 前

解決済み


Percentage profit
If you are buying at x dollar, what will be the selling price for making the r% profit?

約7年 前

解決済み


Percentage profit:3
x% product is sold at r1% profit. However, our target overall profit is rt%. What is the required percentage profit to meet the ...

約7年 前

解決済み


Is matlab fun?
Returns 'yes' no matter the input.

約7年 前

解決済み


Find the minimal value in N*N Matrix
Suppose that we have N by N matrix, we try to find the minimal value in that matrix. examples: Input A=[1 2 3 5 6;52 58 56 45...

約7年 前

解決済み


Persistence will help you solve almost any problem.
Create a function without inputs that adds one to the output every time it is called. a = counterfun; disp(a) >> 1 ...

約7年 前

解決済み


Persistent Usage
This Challenge is to implement the Matlab Persistent variable capability. Given a sequence of Calls to a function return the ...

約7年 前

解決済み


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

約7年 前

解決済み


Function Iterator
Given a handle fh to a function which takes a scalar input and returns a scalar output and an integer n >= 1, return a handle f...

約7年 前

解決済み


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

約7年 前

解決済み


UICBioE240 2.7
Given two 3-element vectors x1 and x2, create a 3 x 3 x 3 matrix Y where (:,:,1) has all values of x1 * x2, (:,:,2) has all valu...

約7年 前

解決済み


Phonebook-like problem
strcmpi('Yes', 'No')

約7年 前

解決済み


UICBioE240 problem 1.6
Find the tangent line of a right triangle given the two of the sides. So if A = [1 1] B = sqrt(2)

約7年 前

解決済み


UICBioE240 2.10
Given a vector of numbers, give the difference between the maximum and minimum values.

約7年 前

解決済み


UICBioE240 problem 1.13
Compute the following - y = x^5/(x^-1) and y = (1-(1/x^5))^-1. Have the final answer of y to equal a 1 by 2 vector.

約7年 前

解決済み


UICBioE240 problem 1.15
Calculate: sin(pi/6) cos (pi) tan(pi/2)

約7年 前

解決済み


UICBioE240 2.8
Convert x number of hours into seconds.

約7年 前

解決済み


UICBioE240 2.1
This will be useful later in the course, in conjunction to clc and clear all, what is the command to close all figure windows th...

約7年 前

解決済み


UICBioE240 problem 1.18
exp(pi/5*i) and exp(pi/5i). Is there any difference in result? Write yes or no as a string.

約7年 前

解決済み


UICBioE240 problem 1.17
In the expression (2+5i), how does MATLAB read the expressions A = 2+5i B = 2+5*i C = both are okay Write capital letter a...

約7年 前

解決済み


UICBioE240 problem 1.16
sin^2(pi/6) + cos^2(pi/6)

約7年 前

解決済み


UICBioE240 problem 1.2
Convert a column vector into a row vector. So if A = [1; 2; 3] Then B = [ 1 2 3]

約7年 前

解決済み


UICBioE240 problem 1.3
Find the length of a vector. So if A = [1 1 1 1 1] Then B = 5

約7年 前

さらに読み込む