Respondida
three-axle vehicle body model
The equations are self-explanatory. As one can see that the forces are computed from the acceleration and velocity components al...

alrededor de 5 años hace | 0

Respondida
segment point cloud data into clusters | The input point cloud must be organized (M-by-N-by-3)
Probably, you'd need to generate meshes using meshgrid()

alrededor de 5 años hace | 0

| aceptada

Respondida
How to plot the polytope given by a system of inequalities
To get a surface plot, you had better use meshgrid() and interp3(). https://www.mathworks.com/help/matlab/ref/meshgrid.html?sea...

alrededor de 5 años hace | 0

Respondida
Plotting/Scatter of m-by-n matrix versus time
It should work if you write your code, e.g.: t=1:12; G = randi([0, 13], 154, 12); plot(t, G, 'o--'), shg

alrededor de 5 años hace | 0

Respondida
How can I get the laplace transform of piecewise function?
Use heaviside(). See this help doc: https://www.mathworks.com/help/symbolic/heaviside.html

alrededor de 5 años hace | 0

| aceptada

Respondida
How can I use data from .mat file into spline function?
Here is the corrected code: ... save('data.mat', 'x','y'); % Your variable names called x, y and you need to save them her...

alrededor de 5 años hace | 0

| aceptada

Respondida
How can I use data from .mat file into spline function?
If all the data of x, y are saved under X, Y names from ginput in a sequenctial order in DATA.mat file. You can load them and ...

alrededor de 5 años hace | 0

Respondida
How to determine number of rows in an excel sheet without uploading it into matlab
Just to see the overall size without importing the data from a *.csv file, uiimport() can be used but this fcn is quite slow tho...

alrededor de 5 años hace | 0

Respondida
Plotting several Polarplots below each other
Do you have any mathematical formulation depicting the relatioship between the ellipses and Z axis? If you do then that can be u...

alrededor de 5 años hace | 0

Resuelto


Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.

alrededor de 5 años hace

Resuelto


Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...

alrededor de 5 años hace

Resuelto


Max of a Vector
Write a function to return the max of a vector

alrededor de 5 años hace

Resuelto


Rounding
Round 10.67 and make 'y' equal to that number.

alrededor de 5 años hace

Resuelto


Back to basics 9 - Indexed References
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix and row and column, output the index of th...

alrededor de 5 años hace

Resuelto


Matlab Basics - Convert a row vector to a column vector
Write a script to convert a row (e.g. x = [1 2 3]) to a column (e.g. y = [1;2;3]), your script should be able to do this for any...

alrededor de 5 años hace

Resuelto


04 - Scalar Equations 1
Define the variable a: <<http://samle.dk/STTBDP/Assignment1_4-a.png>> Use this to calculate x: <<http://samle.dk/STTBD...

alrededor de 5 años hace

Resuelto


02 - Vector Variables 4
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2d.png>> (Logarithmically spaced numbers between 1 and 1...

alrededor de 5 años hace

Resuelto


All your base are belong to us
Find the base _b_ logarithm of the input decimal number _x_. Express the output as a decimal number. The first argument is the n...

alrededor de 5 años hace

Resuelto


Do you like your boss?
Do you like your boss? Answer can be any string! For example: Boss = 'Do you like your boss?'; Output = 'yes' or ...

alrededor de 5 años hace

Resuelto


Damping of Servomotors with Tachometer Feedback
In Control Engineering, servomotors with tachometer feedback can be modeled by the second order system K / [J*s^2 + (B + K*K...

alrededor de 5 años hace

Resuelto


Create an n-by-n null matrix and fill with ones certain positions
The positions will be indicated by a z-by-2 matrix. Each row in this z-by-2 matrix will have the row and column in which a 1 has...

alrededor de 5 años hace

Resuelto


Get the area codes from a list of phone numbers
Given a string of text with phone numbers in it, return a unique'd cell array of strings that are the area codes. s = '508-6...

alrededor de 5 años hace

Resuelto


Symmetry of vector
Determine whether the vector is symmetric or not (vector could be even or odd in length). For example: x = [1 2 3 3 2 1] ...

alrededor de 5 años hace

Resuelto


Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.

alrededor de 5 años hace

Resuelto


Wind Chill Computation
On a windy day, a temperature of 15 degrees may feel colder, perhaps 7 degrees. The formula below calculates the "wind chill," i...

alrededor de 5 años hace

Resuelto


Sum the numbers on the main diagonal
Sum the numbers on the main diagonal of an n-by-n matrix. For input: A = [1 2 4 3 6 2 2 4 7]...

alrededor de 5 años hace

Resuelto


Determine the square root
Determine the square root of the value the user has entered, n.

alrededor de 5 años hace

Resuelto


03 - Matrix Variables 6
Make _fMat_ be a 5x3 matrix of random integers with values from -3 to 3 (Hint: use *randi*)

alrededor de 5 años hace

Respondida
problem in the effect of aerodynamics
As it is, the vehicle body 3DOF block ([Simulation 3D Vehicle with Ground Following]) in Simulink does not include aerodynamics ...

alrededor de 5 años hace | 0

| aceptada

Respondida
Root finding and plotting
There are a couple of ways to find roots of this eqn: (1) ginput() --> graphical method, e.g.: [Roots, y] = ginput(3) % clic...

alrededor de 5 años hace | 1

Cargar más