Resuelto


switch base
Input an integer, switch its base. Input is a string, so is output.

20 días hace

Resuelto


Condition number of Kronecker product
Given NxN matrix A and MxM matrix B, where M,N<=1000, write a routine to compute the condition number of kron(A,B).

20 días hace

Resuelto


Determine Matrix Dimensions Without Using size or length
Write a function that takes a matrix A as input and returns a row vector containing the number of rows and the number of columns...

20 días hace

Resuelto


Find the closest e-abundant numbers
An abundant number is an integer whose sum of its positive proper divisors—or the sum of its divisors excluding itself—exceeds ...

21 días hace

Resuelto


Get factory-defined property values
Given a property name (e.g. 'AxesUnits', 'LineMarkerSize', 'UicontrolBackgroundColor'), return the factory-defined value for tha...

21 días hace

Resuelto


Sum all elements of a vector or matrix without using sum()
Write a function that computes the sum of all elements of the input array v without using the built-in sum function. The input ...

21 días hace

Resuelto


Determine Matrix Dimensions Without Using some built-in MATLAB functions
Write a function that takes a 2D matrix/1D vector x as input and returns a row vector containing the number of rows and the numb...

21 días hace

Resuelto


Compute the Euclidean Distance Between Two N-Dimensional Vectors
Write a function that computes the Euclidean distance between two N-dimensional vectors. Given two input vectors x and z of equ...

21 días hace

Resuelto


Steering 101-Ackermann Steering Ratio
In a turning vehicle, inner and outer wheels follow different radii. Ackermann steering geometry ensures both wheels roll withou...

21 días hace

Resuelto


Turning radius of a vehicle
The turning radius represents the radius of the circular path followed by a vehicle. Given Wheelbase L and Steering angle δ, Co...

21 días 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 ...

21 días hace

Resuelto


Tire Slip Angle Calculation
Slip angle represents the angle between the direction a tire is pointing and the direction it is moving. Given Lateral velocity...

21 días hace

Resuelto


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

21 días hace

Resuelto


Understeer or Oversteer Gradient Calculation
This gradient determines whether a vehicle tends to understeer or oversteer. Given Mass m, Wheelbase L, Front cornering stiffne...

21 días hace

Resuelto


Steering Torque Estimation
Steering torque is generated due to lateral tire forces acting through the steering mechanism. Given Lateral force Fy and Lever...

21 días hace

Resuelto


Electric Power Steering (EPS) Assist Curve Calculation
Electric Power Steering (EPS) provides assist torque proportional to driver input. Given Steering torque Ts and Gain k, Compute...

21 días hace

Resuelto


EPS Assist Map with respect to the Vehicle Speed
In Electric Power Steering (EPS), assist torque reduces as vehicle speed increases to improve stability at high speeds. Given S...

21 días hace

Resuelto


Electric Power Steering (EPS) Motor Torque with Efficiency
In EPS systems, the motor must generate additional torque to compensate for system losses. Given Required assist torque at rack...

21 días hace

Resuelto


Splitting Circle
Consider a circle which has been divided into three concentric circles as depicted in the figure below The ratio betwen the a...

21 días hace

Resuelto


Sum all elements of a vector or matrix without using some built in functions
Write a function that computes the sum of all elements of the input array v without using the following built-in function: sum,...

21 días hace

Resuelto


Return the product of all elements of a vector or matrix without using built-in functions
Compute the product of all elements of the input array without using the built-in functions prod, ans, or size.

21 días hace

Resuelto


Double the 2x2 Matrix
In this challenge, you are given a predefined 2x2 matrix called x. Your task is to multiply every element in this matrix by 2 an...

21 días hace

Resuelto


Sky full of stars - 03
draw the following pattern with asterisks. For example, for n=6 '************' '***** *****' '**** ****' ...

21 días hace

Resuelto


King's Cage
Given the position of the king on the chessboard, determine the minimum number of steps it'll require to reach the destination. ...

21 días hace

Resuelto


COUNT LETTERS
Count the number of letters in a given string. For Example: STR='The MAtlAb code'; output:T 2 H 1 E 2 M 1 A 2 L 1 B 1 C 1 O 1 D ...

21 días hace

Resuelto


find "greatest common divisor" of two integer value
A function to find Greatest Common Divisor of two integer input E.G. x=-18 y=96 output should be +6 x=-18; y=96; >>your...

21 días hace

Resuelto


sort matrix
Given a matrix, sort it for each column, but cannot change the element of each row. for example input = [1 3; 2 4;1 5;3 6]; ...

21 días hace

Resuelto


Probabilities - Balls and urns - 02
The urn contains B blue balls and R red balls. Each trial consists of drawing one random ball from the urn and observing its col...

21 días hace

Resuelto


Find the index of the first occurrence of a value in a matrix
Given a matrix of scalars, find the first occurrence of -1 in each column. Output NaN for a column which does not contain the va...

21 días hace

Cargar más