Statistik
0 Probleme
183 Lösungen
RANG
N/A
of 301.067
REPUTATION
N/A
BEITRÄGE
0 Fragen
0 Antworten
ANTWORTZUSTIMMUNG
0.00%
ERHALTENE STIMMEN
0
RANG
of 21.165
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
0 Discussions
DURCHSCHNITTLICHE ANZAHL DER LIKES
Feeds
Gelöst
Matlab Basics - Rounding I
Write a script to round x DOWN to the next lowest integer: e.g. x = 2.3 --> x = 2 also: x = 2.7 --> x = 2
etwa ein Monat vor
Gelöst
Display negative numbers
Given array,x, display all the negative numbers and display output as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].
etwa ein Monat vor
Gelöst
Product of all elements in an array
Compute the product of all elements in an array.
etwa ein Monat vor
Gelöst
Vertical matrix sort
Given a matrix x with n rows and m columns, return a matrix y with 2n rows and m columns, such that every column in x is sorted ...
etwa ein Monat vor
Gelöst
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...
etwa ein Monat vor
Gelöst
Perimeters/Circumference
Given an array. Determine whether the perimeter is of a circle, triangle or square. Then calculate the perimeter.
etwa ein Monat vor
Gelöst
Find out value of polynomial at different value.
Find out value of polynomial at different value. Example p(s) = s + 8 For s=0, value is 8.
etwa ein Monat vor
Gelöst
Given the variable x as your input, multiply it by four, then divide it by two. Then put the result in y.
If x = 5, y = 4*5/2 = 10
etwa ein Monat vor
Gelöst
UICBioE240 problem 1.9
Swap the first and last columns of a matrix. So if A = [12 4 7; 5 1 4]; B = [7 4 12; 4 1 5]; ...
etwa ein Monat vor
Gelöst
UICBioE240 problem 1.3
Find the length of a vector. So if A = [1 1 1 1 1] Then B = 5
etwa ein Monat 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...
etwa ein Monat vor
Gelöst
Geometric series
Find the sum, given the first term t1, the common ratio r, and number of terms n. Examples If input t1=1, r=1, n=7 the...
etwa ein Monat vor
Gelöst
DC chopper
Input x is the sampled signal vector, may have both AC and DC components. output vector y should have AC components removed then...
etwa ein Monat vor
Gelöst
metre to feet converter
The idea is to make a converter, which exchange meters to feets. We use a factor of 1m = 3.281*1f. so 3m are equals to 9.843 m...
etwa ein Monat vor
Gelöst
Calculate the Distance to Source of Lightning
Lightning discharge heats air rapidly with lightning channels reaching temperatures of up to 50,000 degrees Fahrenheit (which is...
etwa ein Monat vor
Gelöst
Vector indexing: lower than mean
Find indices of values in a vector lower than the mean of the vector
etwa ein Monat vor
Gelöst
Are you in XY plane?
Take a point P as an input position Vector (x,y,z). If you are in XY plane, return 1 as an output otherwise return 0. Example...
etwa ein Monat vor
Gelöst
Calculate the base-10 logarithm of a number
Calculate the logarithm of number x
etwa ein Monat vor
Gelöst
Back to basics 15 - classes
Covering some basic topics I haven't seen elsewhere on Cody. Return the class of the input variable.
etwa ein Monat vor
Gelöst
Find the position of first minimum value in an integer array with numbers
If x = [2 6 4 9 10 3 1 5 1] the the output should be 7, because the first minimum value (1) lies at the 7th position.
etwa ein Monat vor
Gelöst
persistant sum
There will be 9 tests for this problem. In each test you will be provided with 2 integers n=[n1,n2], where n2 is equal to t...
etwa ein Monat vor
Gelöst
Arrange vector in ascending order
Arrange a given vector in ascending order. input = [4 5 1 2 9]; output = [1 2 4 5 9];
etwa ein Monat vor
Gelöst
Simple Vector Addition
Take two incoming vectors and output the sum of the two vectors
etwa ein Monat vor
Gelöst
Radiation Heat Transfer — View Factors (1)
View factors (aka configuration factors) are utilized in some radiation heat transfer models to estimate heat transfer rates bet...
etwa ein Monat vor

