Solved


Saving MATLAB session to a file
How to save MATLAB session to a file?

5 days ago

Solved


UICBioE240 problem 1.4
So if A = [ 1 2 3; 4 5 6; 7 8 9] B = [ 3 3]

5 days ago

Solved


String Logic 18
Examples: 'DIG' --> 'DG' 'IMPORTANT' --> 'IPRAT' 'DEAL' --> 'DA' 'LIMB' --> 'LM' 'MOSTLY' --> 'MSL'

5 days ago

Solved


Return the Square of a Number
Write a function that takes a single numeric input x and returns its square. That is, given x, your function should output x^2....

5 days ago

Solved


Compute Airspeed from Mach Number
Write a MATLAB function that converts a Mach number to airspeed given the speed of sound aa in m/s: V=M⋅a V = airspeed (m/s) M...

5 days ago

Solved


Calculate Lift Force on an Airfoil
Write a MATLAB function to calculate the lift force acting on an airfoil given the air density, wing area, velocity of the airfl...

5 days ago

Solved


Calculate Reynolds Number
Write a MATLAB function that calculates the Reynolds number for flow over a flat plate: ​ ρ = fluid density (kg/m³) V = veloc...

5 days ago

Solved


Mysterious digits operation (easy)
What is this digit operation? 0 -> 0 1 -> 9 121 -> 9 44 -> 6 15 -> 5 1243 -> 7 ...

5 days ago

Solved


Clueless - Lord Ned in the Game Room with the Technical Computing Language
[Warning: this is a nontrivial programming problem] Worried about the decline in reasoning skills in the clueless populace of...

5 days ago

Solved


Height of a right-angled triangle
Given numbers a, b and c, find the height of the right angled triangle with sides a and b and hypotenuse c, for the base c. If a...

9 days ago

Solved


Approximation of Pi
Pi (divided by 4) can be approximated by the following infinite series: pi/4 = 1 - 1/3 + 1/5 - 1/7 + ... For a given number of...

18 days ago

Solved


radius of a spherical planet
You just measured its surface area, that is the input.

18 days ago

Solved


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

18 days ago

Solved


Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...

18 days ago

Solved


Find the maximum number of decimal places in a set of numbers
Given a vector or matrix of values, calculate the maximum number of decimal places within the input. Trailing zeros do not count...

18 days ago

Solved


Make roundn function
Make roundn function using round. x=0.55555 y=function(x,1) y=1 y=function(x,2) y=0.6 y=function(x,3) ...

18 days ago

Solved


Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

18 days ago

Solved


Matlab Basics - Rounding III
Write a script to round a large number to the nearest 10,000 e.g. x = 12,358,466,243 --> y = 12,358,470,000

18 days ago

Solved


Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

18 days ago

Solved


Check that number is whole number
Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. http://en.wikipedia.org/wiki/Whole_numb...

18 days ago

Solved


MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

18 days ago

Solved


MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

18 days ago

Solved


MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

18 days ago

Solved


MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

18 days ago

Solved


The Case of the Missing Prototype – Check for Overlapping Alibis Between Suspects to Spot Inconsistencies
Each suspect in the case has provided an alibi — a time interval [start end] representing when they claim to have been elsewhere...

18 days ago

Solved


The Case of the Missing Prototype – Identify the Thief by Comparing Suspects’ Evidence and Alibi Scores
After gathering fingerprints, alibis, sensor data, and digital clues, it’s time to pinpoint the thief. You have a struct array ...

18 days ago

Solved


The Case of the Missing Prototype – Extract the Culprit’s Name from a Mixed Letter-and-Number Email Message
While tracing the suspect’s digital footprint, you recover an email containing a mixed string of letters and numbers.The letters...

18 days ago

Solved


The Case of the Missing Prototype – Calculate the Car’s Average Speed Between GPS Readings to Trace the Escape Route
Using GPS data, you’ve obtained the total distance (in meters) traveled by the suspect’s car at equal time intervals.These readi...

18 days ago

Solved


The Case of the Missing Prototype – Detect Tampered Sensor Readings from the Stolen Device’s Data Logs
You’ve recovered partial sensor data from the stolen prototype.Each reading is stored in a numeric vector data, but something se...

18 days ago

Solved


The Case of the Missing Prototype – Restore the Correct Frame Order from the Corrupted Security Camera Footage
You’ve finally recovered the security camera footage from the Innovation Lab,but the system malfunctioned and stored frames in t...

18 days ago

Load more