解決済み


poll: would you like the regexp (?@cmd) functionality to be banned in Cody?
This problem is a poll (and a little bit of "white hat hacktivism" as well) regarding Cody users sentiment about the use of rege...

10年以上 前

解決済み


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

約11年 前

質問


How to provide absolute path of include directories in code generation?
I want to include some files which is not in the current working directory. Is it possible to provide absolute path in include d...

11年以上 前 | 1 件の回答 | 0

1

回答

質問


mapping of matrices with different size
i have to map the values from a matrix to another one based on the value in the first column: i used the following code ...

11年以上 前 | 2 件の回答 | 1

2

回答

解決済み


Find max
Find the maximum value of a given vector or matrix.

12年弱 前

解決済み


Back to basics 10 - Max Float
Covering some basic topics I haven't seen elsewhere on Cody. Return the largest positive floating-point number MATLAB can han...

12年弱 前

解決済み


Determine Whether an array is empty
Input a matrix x, output y is TRUE if x is empty, otherwise FALSE.

12年弱 前

解決済み


First N Perfect Squares
*Description* Return the first N perfect squares *Example* input = 4; output = [ 1 4 9 16 ];

12年弱 前

解決済み


Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

12年弱 前

解決済み


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

12年弱 前

解決済み


random picture with random colours
write a function which creates a random(x,y) matrix with random RGB colours for example create_pic(5,5) gives us a 3d matrix. ...

12年弱 前

解決済み


Test of Quiz
Answer the questions and write in vector. Only one answer is correct. The founder of fuzzy logic is 1a) D. Golberg 1b)...

12年弱 前

解決済み


Test
Answer the question and the correct answer write in vector. Only one answer is correct. 1a Yes 1b No 1c No 1d No ...

12年弱 前

解決済み


Calculate distance travelled when given radius and rotations
When given radius of wheel and number of rotations calculate total distance travelled consider pi=3.14

12年弱 前

解決済み


Determine the square root
Determine the square root of the value the user has entered, n.

12年弱 前

解決済み


Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2

12年弱 前

解決済み


Close MATLAB with keyboard
Close MATLAB with keyboard without using mouse

12年弱 前

解決済み


Cody Matlab Version
What is the current Cody Matlab Release? *Output:* string *Examples:* '(R2012a)' or 'R2012a' Hint: We have mo...

12年弱 前

解決済み


How many monitors are connected ?
How to obtain the numbers of monitors connected to your computer ?

12年弱 前

解決済み


Area of rhombus
Calculate the rhombus area

12年弱 前

解決済み


Swap two numbers
Example Input: a = 10 b = 20 Output a = 20 b = 10

12年弱 前

解決済み


find radius of cone
if Slant height of Cone(I)& hight of Cone(H) given then find radius of the Cone(R) for example I=5,h=4 then the ans R=3;

12年弱 前

解決済み


Who has power to do everything in this world?
There is only one person who is older than this universe. He is Indian version of Chuck Norris.

12年弱 前

解決済み


Given area find sides
In a right angle triangle given area 'A' one arm=x, another arm=2x then find the value of x. For example, area A=400 then ...

12年弱 前

解決済み


matlab indian players
answer is one of the indian matlab player(just for fun dont take serious)

12年弱 前

解決済み


Create a two dimensional zero matrix
You have to create a zero matrix of size (mxn) whose inputs are m and n and the elements of your matrix should be zeros. Exam...

12年弱 前

解決済み


Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

12年弱 前

解決済み


Unit Matrix
Given n, you should return an n-by-n unit matrix. Example: If input is n=2 then A = [ 1 0 0 1 ] If input ...

12年弱 前

解決済み


Do you like your boss?
Do you like your boss? Answer can be any string! For example: Boss = 'Do you like your boss?'; Output = 'yes' or ...

12年弱 前

解決済み


Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area

12年弱 前

さらに読み込む