Sam McDonald
MathWorks
Followers: 0 Following: 0
I'm an Application Support Engineer at MathWorks and a Mechanical Engineer by education.
I enjoy recording/mixing new music and outdoor exploration.
Professional Interests: MATLAB and Simulink
Feeds
답변 있음
I have to simulations runing side by side one as a simulation and other on a real time PLC so the problem I am facing is to run both the simulation simultaneously. Is there any way to do it?
If you are interested in real-time testing using your PLC target hardware, we recommend using Simulink Real-Time to deploy your ...
I have to simulations runing side by side one as a simulation and other on a real time PLC so the problem I am facing is to run both the simulation simultaneously. Is there any way to do it?
If you are interested in real-time testing using your PLC target hardware, we recommend using Simulink Real-Time to deploy your ...
대략 7년 전 | 0
답변 있음
Animating collision GUI - changing position
There are a few techniques for creating animations in MATLAB. Refer to these links for examples: <https://www.mathworks.com/h...
Animating collision GUI - changing position
There are a few techniques for creating animations in MATLAB. Refer to these links for examples: <https://www.mathworks.com/h...
7년 초과 전 | 0
답변 있음
Trimming multiple plots down to same time frame
I see two options. You can either 1) plot all the data and simply set the axis limits to only show the data you want to, or 2) t...
Trimming multiple plots down to same time frame
I see two options. You can either 1) plot all the data and simply set the axis limits to only show the data you want to, or 2) t...
7년 초과 전 | 0
답변 있음
How to find dc motor parameters
I am not positive on how you convert the motor specifications to the needed DC motor parameters in the Driveline example. There ...
How to find dc motor parameters
I am not positive on how you convert the motor specifications to the needed DC motor parameters in the Driveline example. There ...
7년 초과 전 | 1
답변 있음
Multi-mass, damper, spring system in matlab
A solver like "ode45" would be the correct choice for a problem like this. It takes a function handle as its first argument of t...
Multi-mass, damper, spring system in matlab
A solver like "ode45" would be the correct choice for a problem like this. It takes a function handle as its first argument of t...
7년 초과 전 | 0
답변 있음
Error in SOR function.
I am able to execute the code you provided with no errors. You may have another function called "SOR" on your MATLAB path tha...
Error in SOR function.
I am able to execute the code you provided with no errors. You may have another function called "SOR" on your MATLAB path tha...
7년 초과 전 | 0
| 수락됨
답변 있음
the dialog box "getting started"
You can always navigate to the Getting Started page in the MATLAB documentation, which can be found on the MathWorks website or ...
the dialog box "getting started"
You can always navigate to the Getting Started page in the MATLAB documentation, which can be found on the MathWorks website or ...
7년 초과 전 | 0
답변 있음
Undefined function 'trapmf' for input arguments of type 'double'.
Installation of thrid-party software may have currupted the MATLAB installation. A re-installation of MATLAB solves this issue
Undefined function 'trapmf' for input arguments of type 'double'.
Installation of thrid-party software may have currupted the MATLAB installation. A re-installation of MATLAB solves this issue
7년 초과 전 | 0
답변 있음
Looking for the correct way to go about a Differential Equation in Matlab
If you want to solve this numerically, you will want to use a numerical solver like "ode45" instead of a symbolic solver like "d...
Looking for the correct way to go about a Differential Equation in Matlab
If you want to solve this numerically, you will want to use a numerical solver like "ode45" instead of a symbolic solver like "d...
7년 초과 전 | 0
답변 있음
Undefined function 'trapmf' for input arguments of type 'double'.
From what you have described, it does appear that your trial has expired, or at least MATLAB registers that the trial has expire...
Undefined function 'trapmf' for input arguments of type 'double'.
From what you have described, it does appear that your trial has expired, or at least MATLAB registers that the trial has expire...
7년 초과 전 | 0
답변 있음
TwinCopter modeling // DOF regarding quad frame
You will need to place a 6-DOF Joint block connecting the World Frame and the body of the TwinCopter. The reference frame on the...
TwinCopter modeling // DOF regarding quad frame
You will need to place a 6-DOF Joint block connecting the World Frame and the body of the TwinCopter. The reference frame on the...
7년 초과 전 | 0
| 수락됨
답변 있음
How to fix an error when trying to create a geometry for PDE?
Use geometry functions to define the geometry as stated in the documentation: <https://www.mathworks.com/help/pde/ug/create-g...
How to fix an error when trying to create a geometry for PDE?
Use geometry functions to define the geometry as stated in the documentation: <https://www.mathworks.com/help/pde/ug/create-g...
7년 초과 전 | 0
답변 있음
Matlab/ Simulink support for AUTOSAR naming convention
As mentioned in the <https://www.mathworks.com/help/ecoder/autosar/autosar.api.validatemodel.html documentation page>, the "auto...
Matlab/ Simulink support for AUTOSAR naming convention
As mentioned in the <https://www.mathworks.com/help/ecoder/autosar/autosar.api.validatemodel.html documentation page>, the "auto...
7년 초과 전 | 0
답변 있음
ginput turning off cursor R2016a
The cursor does disappear, but you should be able to see the crosshairs that appear once you move the mouse. If those are not be...
ginput turning off cursor R2016a
The cursor does disappear, but you should be able to see the crosshairs that appear once you move the mouse. If those are not be...
7년 초과 전 | 0
답변 있음
How can I make the labels of components in appdesigner use the latex interpreter?
This is a limitation of App Designer. There is currently no way of setting a latex interpreter for text boxes. As somewhat of...
How can I make the labels of components in appdesigner use the latex interpreter?
This is a limitation of App Designer. There is currently no way of setting a latex interpreter for text boxes. As somewhat of...
7년 초과 전 | 2
| 수락됨
답변 있음
Matlab very slow to startup in SCIF with no network access
Here are a few steps you can try: 1. Use the "timing" run-time option to get more information about which specific portion of...
Matlab very slow to startup in SCIF with no network access
Here are a few steps you can try: 1. Use the "timing" run-time option to get more information about which specific portion of...
7년 초과 전 | 0
답변 있음
How to access the derivative of my Simulink states through the command model(t,x,u,'derivs')
You will need to compute the outputs of the model prior to computing the derivatives. The is likely the cause of you seeing the ...
How to access the derivative of my Simulink states through the command model(t,x,u,'derivs')
You will need to compute the outputs of the model prior to computing the derivatives. The is likely the cause of you seeing the ...
7년 초과 전 | 0
| 수락됨
답변 있음
how can i create RMS and frequency detector?
The following links may be useful for you: Documentation page for RMS block in the DSP System Toolbox: <https://www.mathworks...
how can i create RMS and frequency detector?
The following links may be useful for you: Documentation page for RMS block in the DSP System Toolbox: <https://www.mathworks...
7년 초과 전 | 0
답변 있음
Plot a bifurcation diagram for a 2 parameter family of 1D maps
I will address the plotting issues. There are two reasons for not seeing anything plotted. 1. Your data is outside the x and ...
Plot a bifurcation diagram for a 2 parameter family of 1D maps
I will address the plotting issues. There are two reasons for not seeing anything plotted. 1. Your data is outside the x and ...
7년 초과 전 | 0
| 수락됨
답변 있음
Simscape Multibody 2G // Change the direction of the axis of a joint primitive
The 2nd Generation joint blocks in Simscape Multibody define the primitive along one direction. For example, the Revolute Joint ...
Simscape Multibody 2G // Change the direction of the axis of a joint primitive
The 2nd Generation joint blocks in Simscape Multibody define the primitive along one direction. For example, the Revolute Joint ...
7년 초과 전 | 0
| 수락됨
답변 있음
GUI figure doesn't move
Assuming you are using GUIDE to build your GUI, this may simply be a limitation of GUIDE or using MATLAB on multiple monitors. A...
GUI figure doesn't move
Assuming you are using GUIDE to build your GUI, this may simply be a limitation of GUIDE or using MATLAB on multiple monitors. A...
7년 초과 전 | 0
답변 있음
I am using Simscape multibody and would like to limit revolute joint movement between 0 and 90 degrees. How can I do this?
A similar question has been addressed in a previous post concerning this functionality in SimMechanics. The same workaround must...
I am using Simscape multibody and would like to limit revolute joint movement between 0 and 90 degrees. How can I do this?
A similar question has been addressed in a previous post concerning this functionality in SimMechanics. The same workaround must...
7년 초과 전 | 1
답변 있음
Maximum sampling frequency of ANALOG INPUT through Arduino UNO
Although the maximum reading rate for the analog pin is 10 kHz, this speed cannot be guaranteed with serial communication via Ar...
Maximum sampling frequency of ANALOG INPUT through Arduino UNO
Although the maximum reading rate for the analog pin is 10 kHz, this speed cannot be guaranteed with serial communication via Ar...
7년 초과 전 | 0
답변 있음
Graphing the intensity to ultimately integrate and find the area of circles
If you want to extract data out of the image and plot the intensity on your own, I would suggest using the "improfile" function....
Graphing the intensity to ultimately integrate and find the area of circles
If you want to extract data out of the image and plot the intensity on your own, I would suggest using the "improfile" function....
7년 초과 전 | 1
답변 있음
Raspberry Pi Simulink Port Problem
Most error messages in Simulink try to point you to the cause of the issue and give you hints or suggestions to try. Have you tr...
Raspberry Pi Simulink Port Problem
Most error messages in Simulink try to point you to the cause of the issue and give you hints or suggestions to try. Have you tr...
7년 초과 전 | 0
답변 있음
Plotting function over multiple periods
Since the "fplot" function accepts a symbol expression, you can simply add more symbolic data to it before calling the function....
Plotting function over multiple periods
Since the "fplot" function accepts a symbol expression, you can simply add more symbolic data to it before calling the function....
7년 초과 전 | 0
| 수락됨
답변 있음
How, in Matlab, can i traverse a tree and save node numbers in a separate matrix in required order?
The code that was attached in the comment does perform the required calculations to construct each M matrix as described in the ...
How, in Matlab, can i traverse a tree and save node numbers in a separate matrix in required order?
The code that was attached in the comment does perform the required calculations to construct each M matrix as described in the ...
7년 초과 전 | 0
| 수락됨
문제를 풀었습니다
Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...
거의 8년 전