Gelöst


MATLAB 101: Area of an ellipse
Write a MATLAB function that accepts these two values a (major axis length), b (minor axis length) as inputs and returns the cal...

etwa ein Monat vor

Gelöst


MATLAB 101: Extracting Even/Odd Values
Given an array or a matrix, extract all elements that satisfy a specified parity condition ('even' or 'odd') and return them as ...

etwa ein Monat vor

Gelöst


MATLAB 101: University Department Data Analyzer
You are given an array containing the number of students in various academic departments of a university, along with a parallel ...

etwa ein Monat vor

Gelöst


MATLAB 101: Student Marks Analyzer
An array is given that contains the marks received by a group of students in their class test. Write a function that processes t...

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


MATLAB 101: Basic Calculator
Write a MATLAB function named basic_calculator that accepts two input numbers, A and B, and returns four distinct outputs: The ...

etwa ein Monat vor

Gelöst


Shuffle primes based on their digits
A sequence consisting of prime numbers only starts with 2, the first prime. The next term is the smallest unused prime that shar...

etwa ein Monat vor

Gelöst


Draw '\'
Can you draw the sign '\' by zeros and ones? NOTICE: Be x-by-x matrix.

etwa 2 Monate vor

Gelöst


Multiply the Diagonals of Two Vectors
Find the diagonals of vectors a and b and multiply them.

etwa 2 Monate vor

Gelöst


Prime or No
If the number is prime, make theCase = "YES", else, make it "NO".

etwa 2 Monate 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 2 Monate vor

Discussion


Flagging solutions
It used to be possible to flag solutions, e.g. as "hack/cheat", "needs rescoring", and so on. Ever since the update to Cody's de...

etwa 2 Monate vor | 0

Gelöst


varargin
Write a function that can take a diffrent Amount of inputs for every run Which gives you the sum of all Inputs. Example: f(a,b...

etwa 2 Monate vor

Gelöst


Problem Set 2
Make a calculator by the four main operators (op): + - * / And the two numbers (n1, n2). Don't forget to check to divisio...

etwa 2 Monate vor

Gelöst


Problem Set 1
You will get the vector "v", you should put it's length in a variable called "lngth", then... If it's length from 1 to 5, sz = ...

etwa 2 Monate vor

Gelöst


Switch-Case-Otherwise
You should make random numbers to 10, by 3 rows and 3 columns. Cases from 1 to 3, b = true. Otherwise, b = false.

etwa 2 Monate vor

Gelöst


NOT
If a not equal to zero, b = true, else, b = false.

etwa 2 Monate vor

Gelöst


OR
If a greater than zero or c less than 10, b = true, else, b = false.

etwa 2 Monate vor

Gelöst


AND
If a greater than 0 and n less than 10, b = true, else, b = false. (Checking a should be in one line by AND special sign in MAT...

etwa 2 Monate vor

Gelöst


Nested If(s)
If a greater than zero, then check, if a = greater that 1 and less than 10, then b = true, else, b = false.

etwa 2 Monate vor

Gelöst


List Chen primes
A Chen prime is a prime number p such that p+2 is either prime or semiprime. The number 17 is a Chen prime because 17+2 = 19 is ...

etwa 2 Monate vor

Gelöst


If-Elseif-Else
If a more than zero, b = true, if a = zero , b = zero, else, b = false.

etwa 2 Monate vor

Gelöst


If-Else
If a more than zero, b = true, else, b = false.

etwa 2 Monate vor

Gelöst


If
If a more than zero, then b = true.

etwa 2 Monate vor

Gelöst


Basic Physics X
Calculate the Kinetic Energy (KE) by Weight (w), Distanec (d), and Time (t) without Mass (m) or Speed (v).

etwa 2 Monate vor

Gelöst


Basic Physics IX
Calculate the Kinetic Energy (KE) by Weight (w) instead of Mass (m).

etwa 2 Monate vor

Gelöst


Basic Physics VIII
Calculate the Mechanical Energy (ME) when the point is B.

etwa 2 Monate vor

Gelöst


Basic Physics VII
Calculate the speed.

etwa 2 Monate vor

Gelöst


Basic Physics VI
Fing the Kinetic Energy (KE) by Distance (d) and Time (t) instead of Speed (v).

etwa 2 Monate vor

Gelöst


Calculate the h-index (revisited)
H-index is a powerful tool for quantifying the scientific contribution of a researcher. The H-index is defined as follows (fro...

etwa 2 Monate vor

Mehr laden