A résolu


subtract central cross
Given an n-by-n square matrix, where n is an odd number, return the matrix without the central row and the central column.

19 jours il y a

A résolu


frame of the matrix
Given the matrix M, return M without the external frame.

19 jours il y a

A résolu


matrix of natural number
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 resides seially as shown in the examples below. ...

20 jours il y a

A résolu


String Logic 7
Examples: 'CAT' --> 84 'DOG' --> 79 'ROSY' --> 89 'MATLAB' --> 84 'TRUST' --> 85 'MOSTLY' --> 89

20 jours il y a

A résolu


String Logic 2
Example: ROSY --> HEIO TRUST --> JHKIJ MOSTLY --> CEIJBO

20 jours il y a

A résolu


String Logic 8
Example: 'CAT' --> 65 'DOG' --> 68 'ROSY' --> 79 'MATLAB' --> 65 'TRUST' --> 82 'MOSTLY' --> 76

20 jours il y a

A résolu


String Logic 12
Examples: 'CAT' --> 'ACT' 'DOG' --> 'DGO' 'ROSY' --> 'ORSY' 'MOSTLY' --> 'LMOSTY'

20 jours il y a

A résolu


Compute wheel slip ratio during braking.
During braking, a difference develops between the vehicle’s forward speed and the rotational speed of its wheels. This differenc...

20 jours il y a

A résolu


Estimate dynamic load transfer to front axle during braking.
During braking, load shifts from the rear axle to the front axle. Given mass, deceleration, center of gravity height, and wheelb...

20 jours il y a

A résolu


Estimate brake line pressure required for a given force.
Hydraulic braking systems amplify pedal input to generate braking force. Given braking force and piston area, compute the hydrau...

20 jours il y a

A résolu


Compute the required brake torque at wheel to stop the car
Brake torque defines how effectively braking force translates into wheel deceleration. Given braking force and wheel radius, det...

20 jours il y a

A résolu


Compute braking force using vehicle mass and acceleration.
Compute braking force required to stop a vehicle of mass 'm' and with acceleration 'a' Remember: F = m × a.

20 jours il y a

A résolu


Compute vehicle stopping distance using initial speed and constant deceleration.
Given vehicle speed v (m/s) and constant deceleration a (m/s²), compute stopping distance Remember: d = v² / (2a)

20 jours il y a

A résolu


Guess Cipher
Guess the formula to transform strings as follows: 'Hello World!' --> 'Ifmmp Xpsme!' 'Can I help you?' --> 'Dbo J ifm...

5 mois il y a

A résolu


Elapsed Time
Given two date strings d1 and d2 of the form yyyy/mm/dd HH:MM:SS (assume hours HH is in 24 hour mode), determine how much time, ...

5 mois il y a

A résolu


y equals x divided by 2
function y = x/2

5 mois il y a

A résolu


Calculate the area of a circle
Given a circle of diameter x calculate its area

5 mois il y a

Réponse apportée
How to make a composite probability density plot?
@aa You can try this way , data = webread("https://in.mathworks.com/matlabcentral/answers/uploaded_files/481458/data.txt"); a...

5 mois il y a | 0

Réponse apportée
Sinusoidal signal wave plotting
@Steph surry To get a sinusoidal signal, use a sutable frequency for input signal. n = 0:0.5:50; f = 5; % use a suitable fr...

11 mois il y a | 0

Réponse apportée
Reverse 2D-lookup table in Simulink
@Bruce Xq, Yq must be vectors , in your one is scalar and other is vector. e = 0:1e-6:1.5e-05 rad_dyn = 3.12588469032184 ...

environ un an il y a | 0

Réponse apportée
Help with for loop array plotting
@Laura Bell You can use loop index to retain values for each iteration in the loop. However, for plotting graphs you need arra...

environ un an il y a | 0

Réponse apportée
Why did I get incorrect values when solving this equation using the fourth order Runge-Kutta Method?
@Sajani there are some missing values for the equation. Also the exponent in equation is 0.5 B = 30; % width of mouth, Ba ...

environ un an il y a | 0

| A accepté

Réponse apportée
Making curves reach axes
@Arne Those are the smallest values for equations in your program. if you want them to touch the axis, use ylim([0.1 1e5])

environ un an il y a | 0

| A accepté

Réponse apportée
Data must be a single matrix Y or a list of pairs X,Y
hold on q=1.0; v=(1.0-sqrt(1.0+4.0*q))/(2.0*q); p=4*atan(1.0); for j=0:100 a=0.0+j.*p/100; for i=0:100 ...

environ un an il y a | 0

Réponse apportée
Is it possible that the column format of a UITable depends also on the row ?
@Anas Is there a way of setting a format to a specific cell within my uitable ? yes, you can format individual cells of uitable...

environ un an il y a | 0

Réponse apportée
Xlim error in App designer
@Mukesh try with following change in these lines app.StarYear.Value = event.Value app.StopYear.Value = event.Value xlim(app...

environ un an il y a | 0

Réponse apportée
How do I calculate OASPL from SPL ?
pressure_data.append(pressure_d) this line seems to add the pressure data cumulatively. you need to use pressure values separ...

environ un an il y a | 0

| A accepté

Réponse apportée
Error in 1st line of code
@Manali Kunte, use the limits for time span instead of vector, Besides, there is typo error for function zeroes. The valid Mat...

environ un an il y a | 0

Réponse apportée
Can someone rectify this code?
@Rajeev Check the size of vectors used for conditions inside fsolve i.e. Q0 and (1:1:10) function F = myfun(Q) ks = 0.015/12;...

plus d'un an il y a | 0

Réponse apportée
How do I correctly write the following function ?
@Iurie Obodeanov, Close the parenthesis for first term i.e. sin term , and remove the dot at the end of 2nd term as below sym...

plus d'un an il y a | 0

Charger plus