Respondida
Rotating a coordinate with a rotation matrix
There seems to be some confusion regarding what the coordinate rotation transform is doing. One way to think about it is that i...

más de 6 años hace | 1

| aceptada

Respondida
How can I position my textbox exact position in my plot?
Yes, this is possible to do, but it is complicated. When you place graphics in a figure window, they are located based on the f...

más de 6 años hace | 3

| aceptada

Respondida
Call function by path or namespace?
One way to approach this is to create a separate folder (that is not on the Matlab path) for your project. When you set the Mat...

más de 6 años hace | 0

Respondida
Difference between a vector and a bus signal
A bus signal is like a C++ structure. It can contain a variety of different signal types. A vector is an array, all elements a...

más de 6 años hace | 0

Respondida
How to call .m file from an other .m file?
Use the command run(filename) Any variables defined in the script are available in the Matlab workspace.

más de 6 años hace | 1

Respondida
How would you plot a graph which a ball then rolls down (say a y=x^2 graph)
Here is a model for the kinematics. clear data % I use data to save values in the time loop func = @(x) x.^2; % this is ...

más de 6 años hace | 0

Respondida
Von Karman Wind Turbulence Model
V is the true airspeed. V is a scalar, and is used to calculate the scalar components of the turbulence field. The documentati...

más de 6 años hace | 0

Respondida
How to find the angle between two quaternions?
I am more comfortable working with direction cosine matrices, so the way I would do this is to first convert the quaternions to ...

más de 6 años hace | 2

Respondida
Eliminate algebraic loop without using memory block
Here is an interesting article on algebraic loops and memory blocks. (pertaining to continuous time models) https://blogs.math...

más de 6 años hace | 0

Respondida
how to I add add a text in the Notes section (below the ppt slide)
on the VIEW tab, click on "notes page"

más de 6 años hace | 0

Respondida
calculate difference of euler angles between two dynamic moving objects
You have two objects described in a common reference frame. Lets call the objects A and B, and the frame is the I frame. So if...

más de 6 años hace | 1

| aceptada

Respondida
Is it possible to only rename instances of a variable that appear in the code after the point at which you edit the variable selected? (shift+enter)
I use a tool called UltraEdit. It has that capability. In the find/replace tab there is a checkbox for "replace all is from t...

más de 6 años hace | 0

Respondida
program to find velocity of a UAV
This is a fun problem (aircraft design). I guess it's OK to give an answer on this, since it was homework 8 years ago! A quick...

más de 6 años hace | 0

Respondida
how can i calculate the energy of the pixel in the image??
Here are a couple possible references https://www.mathworks.com/matlabcentral/answers/63441-to-find-energy-of-each-pixel-from-a...

más de 6 años hace | 0

Respondida
simulink output size is not same as input size
The answer has to do with how you are saving variable "temp" from Simulink, but I cannot tell from the screenshot how this is be...

más de 6 años hace | 0

Respondida
Eulers method range issue question
In your code, you specify: R=[1:16]; h=0.2; ic=4; Then you call the function [t,y]=myEuler(f,R,ic,h) Inside myEuler, it co...

más de 6 años hace | 1

Respondida
How do you use Euler's Method to approximate the solution?
Euler's method approximates the area under a curve by using rectangular segments. The figure illustrates this process: You s...

más de 6 años hace | 0

| aceptada

Respondida
Coorindate transforms to a satellite reference frame
In order to answer this question, we need a good definition of the coordinate frames involved. The only way to do this is to dr...

más de 6 años hace | 2

Respondida
How do I execute a function only one time in Simulink?
This is what rate transition blocks were created for. You might want to try this approach. Simply insert a rate transition blo...

más de 6 años hace | 2

Respondida
How to substract one number from many numbers?
W = x - 0.6 Or, if you want to actualy subtract x from 0.6 it would be: W = -x + 0.6

más de 6 años hace | 0

| aceptada

Respondida
How do I export a vector to workspace in simulink?
It'a actually very easy. Simulink has a block for combining two signals, called a "mux" block. Simply combine the two signals ...

más de 6 años hace | 0

Respondida
thermodynamic properties of water in simulink
Sounds like a perfect application for using a table look-up. For a function of two variables, simulink has a "2-D Lookup Table...

más de 6 años hace | 0

Respondida
Index exceeds the number of array elements (1)
In the calculation of xdot I see subscripted references for x (up to 12) and u (up to 4). You should check the size of x and u ...

más de 6 años hace | 0

| aceptada

Respondida
how simulate PI ?
Yes, it's that easy. Did you try it? What are the results?

más de 6 años hace | 1

Discussion


Is Walter Roberson a real person, or is he some kind of Matlab AI robot?
Just curious!

más de 6 años hace | 38

Pregunta


Is Walter Roberson a real person, or is he some kind of Matlab AI robot?
Just curious!

más de 6 años hace | 8 respuestas | 37

8

respuestas

Respondida
solve 4th order ode in simulink
Your diagram looks reasonable to me and it could work, but its hard to tell from a screen shot - especially when the block title...

más de 6 años hace | 1

Respondida
Finding the roots of equation by newton-raphson method?
I would approach the problem like this (this is a very simple implementation) Define an annonymous function for your equation: ...

casi 7 años hace | 2

| aceptada

Respondida
circle least square method
You don't need to use least squares to "fit" a circle to 3 points, because 3 points will uniquely define a single circle. See ...

casi 7 años hace | 0

Respondida
creating sine wave with variable frequency
The reason that the frequency is constant is that you are driving it with a linear function of time. If you plot the input sign...

casi 7 años hace | 1

| aceptada

Cargar más