Risolto


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

circa un mese fa

Risolto


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.

circa un mese fa

Risolto


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

circa un mese fa

Risolto


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

circa un mese fa

Risolto


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

circa un mese fa

Risolto


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.

circa un mese fa

Risolto


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

circa un mese fa

Risolto


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

circa un mese fa

Risolto


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

circa un mese fa

Risolto


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

circa un mese fa

Risolto


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

circa un mese fa

Risolto


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

circa un mese fa

Risolto


Remove the Zero
Given an array n, remove all zeros

circa 2 mesi fa

Risolto


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

circa 2 mesi fa

Risolto


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

circa 2 mesi fa

Risolto


Number Puzzle - 050

circa 2 mesi fa

Risolto


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

circa 2 mesi fa

Risolto


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

circa 2 mesi fa

Risolto


Addition
Add together the values of a and b.

circa 2 mesi fa

Risolto


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

circa 2 mesi fa

Risolto


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

circa 2 mesi fa

Risolto


Volume of Cylinder
Find the volume of a cylinder

circa 2 mesi fa

Risolto


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

circa 2 mesi fa

Risolto


Real

circa 2 mesi fa

Risolto


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

circa 2 mesi fa

Risolto


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

circa 2 mesi fa

Risolto


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

circa 2 mesi fa

Risolto


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

circa 2 mesi fa

Risolto


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

circa 2 mesi fa

Risolto


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

circa 2 mesi fa

Carica altro