Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 11 años hace

Pregunta


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

alrededor de 11 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 11 años hace | 2 respuestas | 1

2

respuestas

Resuelto


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

más de 11 años hace

Resuelto


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

más de 11 años hace

Resuelto


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

más de 11 años hace

Resuelto


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

más de 11 años hace

Resuelto


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

más de 11 años hace

Resuelto


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

más de 11 años hace

Resuelto


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

más de 11 años hace

Resuelto


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

más de 11 años hace

Resuelto


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

más de 11 años hace

Resuelto


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

más de 11 años hace

Resuelto


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

más de 11 años hace

Resuelto


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

más de 11 años hace

Resuelto


Close MATLAB with keyboard
Close MATLAB with keyboard without using mouse

más de 11 años hace

Resuelto


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

más de 11 años hace

Resuelto


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

más de 11 años hace

Resuelto


Area of rhombus
Calculate the rhombus area

más de 11 años hace

Resuelto


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

más de 11 años hace

Resuelto


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;

más de 11 años hace

Resuelto


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.

más de 11 años hace

Resuelto


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

más de 11 años hace

Resuelto


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

más de 11 años hace

Resuelto


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

más de 11 años hace

Resuelto


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

más de 11 años hace

Resuelto


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

más de 11 años hace

Resuelto


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

más de 11 años hace

Resuelto


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

más de 11 años hace

Cargar más