Gelöst


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

fast 11 Jahre vor

Gelöst


Factorizing a number into a given number of factors
Given a positive integer, n, and another positive integer, b, return a matrix, M, of width b, with the following properties: (a)...

fast 11 Jahre vor

Gelöst


Minimum of each diagonal
The well-known <http://www.mathworks.com/help/matlab/ref/min.html min> function can operate along either the rows or the columns...

fast 11 Jahre vor

Gelöst


Maximum of each diagonal
The well-known <http://www.mathworks.com/help/matlab/ref/max.html max> function can operate along either the rows or the columns...

fast 11 Jahre vor

Gelöst


Your favourite city!
Type your favourite city.

fast 11 Jahre vor

Gelöst


Convert ColorSpec string to RGB triplet
Given a ColorSpec string, either in short or long form, return the corresponding RGB triplet. If the input is not a valid color,...

fast 11 Jahre vor

Gelöst


Make visible max values
Make visible maximum values of rows input = [1 2 3 4 5; 6 9 8 2 1; 2 1 4 5 8; 1 9 7 9 2]; ...

fast 11 Jahre vor

Gelöst


Is this function available?
Sometimes it is difficult to remember which functions are not allowed on the Cody platform. Given a function as a string, return...

fast 11 Jahre vor

Gelöst


UICBioE240 2.3
Make a 4D matrix of 4x4x3x4 containing all zeros.

fast 11 Jahre vor

Gelöst


UICBioE240 2.8
Convert x number of hours into seconds.

fast 11 Jahre vor

Gelöst


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

fast 11 Jahre vor

Gelöst


List of built-in demo images
Return a cell array containing the filenames for built-in images (e.g. cameraman.tif, coins.png). An optional input specifies wh...

fast 11 Jahre vor

Gelöst


Convert RGB triplet to ColorSpec string
This is the inverse to <http://www.mathworks.com/matlabcentral/cody/problems/42612-convert-colorspec-string-to-rgb-triplet this ...

fast 11 Jahre vor

Gelöst


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

fast 11 Jahre vor

Gelöst


the proud tradition of zero scores in Cody
The short version is: *_your function should return a zero and also have a zero score/size_* The long version comes with a li...

fast 11 Jahre vor

Gelöst


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

fast 11 Jahre vor

Gelöst


UICBioE240 problem 1.12
The mathematical quantities e^x, ln x and log x are calculated using the expression exp(x), log(x) and log10(x) respectively. ...

fast 11 Jahre vor

Gelöst


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.

fast 11 Jahre vor

Gelöst


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

fast 11 Jahre vor

Gelöst


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

fast 11 Jahre vor

Gelöst


UICBioE240 problem 1.1
Remove the middle row from a matrix, assuming # of rows is odd. So if A = [ 1 2 3; 4 5 6; 7 8 9] the...

fast 11 Jahre vor

Gelöst


Xor of matrix
you have to set exclusive OR of two arrays

fast 11 Jahre vor

Gelöst


Vigenere cipher - be like Sherlock Holmes!
You're a young detective. Every detective needs a function to decrypt a vigenère cipher. It's a modification of a caesar cipher....

fast 11 Jahre vor

Gelöst


To convolve two vectors
To convolve two vectors

fast 11 Jahre vor

Gelöst


Rank of matrix
Find the rank of given matrix

fast 11 Jahre vor

Gelöst


Initialize a Natural Number matrix.
Given length of matrix initialize a matrix consisting of natural numbers from 1 to n: n = 10; x = [ 1 2 3 4 5 6 7 8 9 10]; ...

fast 11 Jahre vor

Gelöst


volume of torus
Find volume of torus with a as major radius and b as minor

fast 11 Jahre vor

Gelöst


Find minimum and maximum elements of an array
For a given array find minimum and maximum elements of an array and store minimum value in first index of output and maximum in ...

fast 11 Jahre vor

Gelöst


Calculate volume of box
Calculate the volume of box,hiven its sides

fast 11 Jahre vor

Gelöst


Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]

fast 11 Jahre vor

Mehr laden