Gelöst


Calculating selling price
Cost of a Product is $x What should be the selling price if you want to gain 10%?

etwa ein Monat vor

Gelöst


Find the sum of the largest two elements in a vector
With this one, you have to find the two largest elements in a vector and output the sum of those numbers.

etwa ein Monat vor

Gelöst


More Simple String Concatenation
Take the first string input, reverse the order of the string from the end to beginning (i.e. apple becomes elppa), add a space a...

etwa ein Monat vor

Gelöst


Replace 0 indices in array with 1's
Take a incoming vector, and replace 0's with ones

etwa ein Monat vor

Gelöst


The great 82-year-old
Let's answer the question below; 'I am *x* years old and I have never written programs. If I study from now, will I be able ...

etwa ein Monat vor

Gelöst


MATLAB 101: Area of a circle
Write a MATLAB function named circle_area that accepts the radius r as an input and returns the area of the circle.

etwa ein Monat vor

Gelöst


Plot
Make a plot of the vector x. NOTICE: YOU CAN NOT USE ans INSTEAD OF y!

etwa ein Monat vor

Gelöst


Watermelon [MATLAB Cody Edition]
YOU CAN READ THE REAL CHALLENGE FROM THIS URL AND APPLY IT https://codeforces.com/problemset/problem/4/A NOW INSTEAD OF DISP...

etwa ein Monat vor

Gelöst


Trapezium
Calculate the area of the Trapezium using it's bases and height.

etwa ein Monat vor

Gelöst


Title
Make a plot for x and add title "My Plot". NOTICE: YOU CAN NOT USE ans INSTEAD OF [y ax]!

etwa ein Monat vor

Gelöst


Column Vector
The third problem in Linear Algebra group. Create a column vector like this:

etwa ein Monat vor

Gelöst


Row Vector
The second problem in Linear Algebra group. Create this vector in MATLAB: [7 8 26]

etwa ein Monat vor

Gelöst


Remove the Zero
Given an array n, remove all zeros

etwa ein Monat vor

Gelöst


Areas
Given certain dimensions determine the area of that shape. If given only one value assume its the radius. Use round(x) to round ...

etwa ein Monat vor

Gelöst


Where is she?
Given the numbers 12, 3, 6, 9 Tell where the girl is located. That is: Look to your 3 o'clock = look right Example ...

etwa ein Monat vor

Gelöst


Number Puzzle - 050

etwa ein Monat vor

Gelöst


0, 2, 0, -2, 0, 2, 0, -2, ...
Generate the first n terms of a periodic sequence defined as f(x) = 0, 2, 0, -2, 0, 2, 0, -2, ..., for x = 1, 2, 3, 4, 5, 6...

etwa ein Monat vor

Gelöst


Write a string
The answer should be a string that is the value: "I like apples!" (Ignore the quotation marks, just write what is inside the ...

etwa ein Monat vor

Gelöst


Addition
Add together the values of a and b.

etwa ein Monat vor

Gelöst


Element-wise vector product (★)
Given two vectors x and y, compute their element-wise product z. Thus, if x = [1 3 5] and y = [0.5 -1 2], then z = [1*0.5...

etwa ein Monat vor

Gelöst


Function 1 (★)
Compute the value of <<https://i.imgur.com/AxKWLmE.gif>> for any given positive x.

etwa ein Monat vor

Gelöst


Volume of Cylinder
Find the volume of a cylinder

etwa ein Monat vor

Gelöst


Kelvin to Fahrenheit
You can find a doc about it in here => https://www.rapidtables.com/convert/temperature/how-kelvin-to-fahrenheit.html x is kelvi...

etwa ein Monat vor

Gelöst


Real

etwa ein Monat vor

Gelöst


Sum positive elements of matrix.
Calculate sum of positive elements of the matrix.

etwa ein Monat vor

Gelöst


Create incrementing array
Given a and b generate an output matrix as shown in following examples: a=2 b=5 output=[2 20 200 2000 20000] a=4 b...

etwa ein Monat vor

Gelöst


MATLAB Basics: Complex Numbers
For a given complex number, x, return the real and imaginary parts as a vector, y = [Real Imaginary].

etwa ein Monat vor

Gelöst


MATLAB Basics: Complex Argument
For a given complex number, x, return the argument, y, in degrees.

etwa ein Monat vor

Gelöst


MATLAB Basics: Complex Conjugates
For a given complex number, x, return the complex conjugate, y.

etwa ein Monat vor

Gelöst


Area of Cylindrical Shell
Consider a cylinder with a non-zero thickness with an inner radius of r1 and an outer radius of r2. If the height of the cylinde...

etwa ein Monat vor

Mehr laden