Risolto


Non trivial identities - summation
Return x by adding a random number to it.

circa 10 anni fa

Risolto


Non trivial identities - differentiation
Return x by differentiating it.

circa 10 anni fa

Risolto


Combine the digits to output numbers
input could be of any length e.g. 1. in1 = 1 in2 = 2 output = 12 2. in1 = 2 in2 = 1 in3 = 0 output = 210

circa 10 anni fa

Risolto


Recursion at variable input
input of any length a =2 b =2 c =3 output = (a^b)^c = 64

circa 10 anni fa

Risolto


Move if I am Optimus Prime
If the number is a prime, roll out!

circa 10 anni fa

Risolto


Leap year or Not
Check if a given year is Leap year or not.

circa 10 anni fa

Risolto


Sort matrix a according to ascending order of B!
To be specific, A=[9 3 1 3] B=[1 3 2 4] are provided, ascending sorting of B is [B(1) B(3) B(2) B(4)]. Thus ...

circa 10 anni fa

Risolto


Roots of a quadratic equation.
Calculate the roots of a quadratic equation, given coefficients a, b, and c, for the equation a*x^2 + b*x + c = 0.

circa 10 anni fa

Risolto


How Far Can You Throw Something?
As you probably learned in your high school physics class, throwing an object at a 45 degree angle will give you the maximum ran...

circa 10 anni fa

Risolto


Check given number is odd or even
Using input [x], check given number is odd or even if x is odd, output should be true.

circa 10 anni fa

Risolto


Extract a part of matrix!
There is matrix A A=[1 2 3; 4 5 6; 7 8 9] Extract a part of matrix A from (2,2) to (3,3). Result should...

circa 10 anni fa

Risolto


Calculate polynomial equation
Calculate this equation using given x 1+x+x^2+x^3+....x^99 (hint: use polyval)

circa 10 anni fa

Risolto


Print true if
all elements are larger than 5 a=[1 3 5 8 6]; b=[6 6 6 6 6]; function(a) should be false, and function(b) will be tru...

circa 10 anni fa

Risolto


Delete x value in given vector y.
Delete x value in given vector y. Exapmle x=5; y=[ 1 2 5 6 74 5 2 5] result=[1 2 6 74 2]

circa 10 anni fa

Risolto


Conduct inner product using given matrix
a=[1 2 3]; b=[3 4 5]; y=function(a,b) Output y should be 26

circa 10 anni fa

Risolto


Half wave rectifier
Create a function that emulates a half wave rectifier. Use a sine wave

circa 10 anni fa

Risolto


Full Wave rectifier
Create a function that emulates a full wave rectifier. Use a sine wave

circa 10 anni fa

Risolto


Clamper Function
Create a function that emulates a clamper circuit Given sin wave, t and the constant value for clamping

circa 10 anni fa

Risolto


Modified run-length companion vector
Given a vector x, return a vector that indicates the run length of any value in x. Each element in output vector shows how many ...

circa 10 anni fa

Risolto


Delete useless part of data
When someone deals with big data. if the person delete useless part, calculation will be more faster than before deleting. De...

circa 10 anni fa

Risolto


Given X and Y, Get the Displacement Travelled
Given startX, start Y, endX and endY Get the displacement travelled %x = [startX endX] %y = [startY endY] x = [0 3]; y = [0...

circa 10 anni fa

Risolto


Solar panel efficiency
Calculate the solar panel efficiency at STC for the system power rating 400W and the collector area = 2.79 meter square.

circa 10 anni fa

Risolto


Exponential Growth and Decay
Calculus time!! Find dx/dy or (k) Given y(0), y(t) and t

circa 10 anni fa

Risolto


Some tweaks in summation, Can you decode? :)
There are some tweaks in summation that you might observe via test suites Try if you can

circa 10 anni fa

Risolto


Add Me To Death (Sum sum sum)
Given certain vector, sum of the input vector, get the sum of 2 adjacent numbers in the input, and sum of the output vector (wh...

circa 10 anni fa

Risolto


Annoying population
Every year the number of annoying persons in the office triples Found the population, given a(0) and t

circa 10 anni fa

Risposto
How to genneral a repeat array
You can use repelem function to accomplish your question a = 1 2 3 4 >> repelem(a, 3) ...

circa 10 anni fa | 0

| accettato

Risolto


DC-DC boost converter
Find the output voltage of a DC-DC boost converter when its input voltage is 12V and the duty cycle ratio is 0.6.

circa 10 anni fa

Risolto


Modulation index
The amplitude of the carrier signal is 2V and the amplitude of the modulating signal is 8V. Find its modulation index.

circa 10 anni fa

Risolto


what can you get for exactly amount of money
You go to store, where each product has price. Prices are in vector s = [ 195 125 260 440 395 290] and you have amount ...

circa 10 anni fa

Carica altro