Resuelto


Shifting vertically a function's graph
Given a real function, f, by n input-output pairs, consider a translation in the up-down direction given by an amount k. For a ...

alrededor de 2 meses hace

Resuelto


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

alrededor de 2 meses hace

Resuelto


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

alrededor de 2 meses hace

Resuelto


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.

alrededor de 2 meses hace

Resuelto


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.

alrededor de 2 meses hace

Resuelto


Even Sum
Calculate the sum of all even numbers between 1 and a given positive integer n. Write a function that takes n as input and retur...

alrededor de 2 meses hace

Resuelto


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

alrededor de 2 meses hace

Resuelto


Sum the main diagonal of a matrix
Given a square matrix, return the sum of its main diagonal elements. Example: diag_sum([1 2 3; 4 5 6; 7 8 9]) returns 15

alrededor de 2 meses hace

Resuelto


Multiplying the Sums of Two Arrays
Get two arrays, add the values within the array up, and then multiply the two total values. [2,3]*[3,6] 5*18 90

alrededor de 2 meses hace

Resuelto


TingTing
Output logical "true" if the input is the answer to luck and money$$$. Otherwise, output logical "false".

alrededor de 2 meses hace

Resuelto


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.

alrededor de 2 meses hace

Resuelto


MATLAB 101: Factorial Finder
The factorial of a non-negative integer n (denoted as n!) is the product of all positive integers less than or equal to n. For e...

alrededor de 2 meses hace

Resuelto


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

alrededor de 2 meses hace

Resuelto


Calculate SNR in dB using original signal and quantized signal
origs: the original signal quants: the quantized signal *hint* : need to calculate the quantization error and plug into SN...

alrededor de 2 meses hace

Resuelto


Problem: Battery State Estimation with Temperature Effect
In a Battery Management System (BMS), the usable capacity of a battery decreases when operating at extreme temperatures. The ef...

alrededor de 2 meses hace

Resuelto


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

alrededor de 2 meses hace

Resuelto


Steering Ratio Calculation
The steering ratio defines the relationship between steering wheel angle and road wheel angle. Given wheel angle δ and Steering...

alrededor de 2 meses hace

Resuelto


Reverse the characters of a string
Given a string, return the string with characters in reverse order. Example: rev_string('hello') returns 'olleh'

alrededor de 2 meses hace

Resuelto


THE CALCULATOR OF LOVE
In honor of Valentine's Day, program a love calculator that figures out the percentage of compatibility between two people using...

alrededor de 2 meses hace

Resuelto


MATLAB 101: Replace Negatives with Zero
Write a MATLAB function that takes a numeric array (vector or matrix) of numbers and replaces all negative numbers with zero. Po...

alrededor de 2 meses hace

Resuelto


Insert same number of zeros for each of elements in the vector. Number of zeros for a given number in vector
Same number of zeros for a given number in the vector, if there is a negative number in vector, then insert zeros to precede ...

alrededor de 2 meses hace

Resuelto


Unique: Enhanced Performance - Large and Wide Array - Speed Improvement (66% savings)
The Challenge is to perform very fast unique function for a long and wide array. The data is small integer representing data ...

alrededor de 2 meses hace

Resuelto


ismember: Enhanced Time Performance for 'rows' - Speed Scoring (90% savings)
The Challenge is to perform very fast the 'ismember' function for a long and wide array. The data is small integer representi...

alrededor de 2 meses hace

Resuelto


Count how many elements are above the mean
Given a vector, return the count of elements strictly greater than the mean of the vector. Example: above_mean_count([1 2 3 4 5]...

alrededor de 2 meses hace

Resuelto


Caesar Cipher: shift a lowercase string
A Caesar cipher shifts every letter forward through the alphabet by a fixed amount, wrapping around from z back to a. Given a...

alrededor de 2 meses hace

Resuelto


Yaw rate of the vehicle
Yaw rate defines how quickly a vehicle rotates about its vertical axis during motion. Given Vehicle speed v and Turning radius ...

alrededor de 2 meses hace

Resuelto


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

alrededor de 2 meses hace

Resuelto


Calculation of Radar Dwell Time
This problem aims to determine the dwell time of a 2D-search radar antenna. The function takes as input the antenna horizontal b...

alrededor de 2 meses hace

Resuelto


Monostatic Radar Received Power Calculation
This problem aims to determine the received power of a monostatic radar system. The function takes as input the main radar param...

alrededor de 2 meses hace

Resuelto


Compute Radar Wavelength from Frequency
Radar systems operate at electromagnetic frequencies. The wavelength of the transmitted signal is related to the operating frequ...

alrededor de 2 meses hace

Cargar más