Michael
Northern Arizona University
Followers: 0 Following: 0
MATLAB
Statistiques
RANG
810
of 289 746
RÉPUTATION
85
CONTRIBUTIONS
47 Questions
36 Réponses
ACCEPTATION DE VOS RÉPONSES
74.47%
VOTES REÇUS
25
RANG
of 19 581
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
RANG
of 144 117
CONTRIBUTIONS
0 Problèmes
0 Solutions
SCORE
0
NOMBRE DE BADGES
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
Current Directory for Generated Code
pwd is now supported for code generation for R2023b.
7 mois il y a | 2
Question
Get UTC Time in Generated Code
I need to get UTC time down to miliseconds at least (i.e. 1692039433503685.321 seconds) in a piece of generated code C++ code. U...
8 mois il y a | 1 réponse | 1
1
réponseQuestion
Read/Write CSV for Code Generation
Is there a good way to read and/or write CSV files that is supported for code generation. I'd rather not write my own function b...
11 mois il y a | 2 réponses | 0
2
réponsesQuestion
Pause of Fractional Seconds in Generated Code
The help file for pause.m says the following in the notes about Code Generation: The generated code truncates pause del...
environ un an il y a | 1 réponse | 0
1
réponseRemote ROS2 Coder Deployment: 'libmwnetworkdevice.dyld does not exist'
I upgraded to R2023a prerelease, and this issue resolved. This may have been a bug in R2022b...
environ un an il y a | 0
| A accepté
Question
Remote ROS2 Coder Deployment: 'libmwnetworkdevice.dyld does not exist'
I am trying to set up a remote deployment of a ROS2 Node to my Linux machine from my Mac, where I am doing my development. I had...
environ un an il y a | 1 réponse | 0
1
réponseQuestion
Code Generation Support for Calling Executable?
Is there a way that I can call an executable that is supported for code generation? I know about the shell escape (!) and system...
environ un an il y a | 1 réponse | 0
1
réponseQuestion
Tunable IP Port for dsp.udpsender in generated code
I have an application where I need to serve data over some number UDP ports (not known at compile time) and want to developed an...
plus d'un an il y a | 1 réponse | 0
1
réponseQuestion
ROS2 Subscriber Callback Function Arguments for Code Generation
I need to pass additional variables to my ROS2 subscriber callback function. I am trying to follow the help file explicity, whic...
plus d'un an il y a | 1 réponse | 0
1
réponseQuestion
ROS2 Message Received Callback for Code Generation
The Question I'm trying to receive messages on a ROS2 network and exectute a callback function when messages are received. I ne...
plus d'un an il y a | 1 réponse | 0
1
réponseQuestion
Using coder.ceval to getcwd()
I am trying to get the current working directory in generated C++ code. I think it is possible using coder.ceval() by calling th...
plus d'un an il y a | 1 réponse | 0
1
réponsemean square error (MSE) between two graphs
Interp them so they are on the same grid and then do the regulare MSE calc? xLED_vermelho_K_INTERP = interp1(ss,xLED_vermelho_...
plus d'un an il y a | 0
Question
Coder RuntimeChecks Error Line Numbers
If I turn on RuntimeChecks in my coder config for C or C++ code generation (cfg.RuntimeChecks = true; codegen my_function -args ...
plus d'un an il y a | 1 réponse | 0
1
réponseQuestion
ros2genmsg Error when updating to R2022b
I was able to generate/use custom ROS2 messages with R2022a, but I just upgraded to 2022b and I am not getting an error when I ...
plus d'un an il y a | 1 réponse | 0
1
réponseQuestion
Coder ROS2 Build Error (colcon) with Custom ROS2 Message
I have a custom ROS2 message that am integrating into a Matlab function that is getting deployed on a remote Linux maching using...
plus d'un an il y a | 1 réponse | 0
1
réponseChanging plot line colour with multiple data sets
Create a color map and then give each one a distinct color. figure; thecolors = parula(9); for i = 1:9 plot(rand(5,1),r...
plus d'un an il y a | 0
| A accepté
How to write an if-else statement for a function
if n>1 f = sqrt(1 + f(n-1)); elseif n == 1 f=2; else f = NaN; end
plus d'un an il y a | 0
How can i make an Audio File loop continuously?
Have you read this article? <https://www.mathworks.com/help/audio/gs/real-time-audio-in-matlab.html Real-Time Audio in MATLAB> ...
plus d'un an il y a | 0
| A accepté
Why do I receive this error while using a MATLAB help example?
This ran fine on my machine. See below. What version of Matlab are you using? Maybe an older version that doesn't support struct...
plus d'un an il y a | 1
Question
Code Generation Handle Object Not Defined for All Execution Paths
I have a problem where I am using a custom handle class that is allocated within an infinite while loop. At the end of each iter...
plus d'un an il y a | 1 réponse | 0
1
réponseConvert striaght lines to smooth curves
It looks like your sample rate was too low. I'd recollect the data at a higher sample rate. You could try doing a cubic spline...
plus d'un an il y a | 1
| A accepté
I need help with Matlab - FFT - getting pairs of peaks-freq in array - urgently need help
I think you need to specify the x locations (frequency in your case) in the findpeaks function, otherwise it just gives you the ...
plus d'un an il y a | 0
| A accepté
Question
Best Ways to Save Objects with Coder Support
I have a couple of custom classes I've made for my project and I am using Coder to run my code as an executable. I am processing...
plus d'un an il y a | 1 réponse | 0
1
réponseQuestion
Typecast a hex string to single
I have strings of hex values that I need to typecast to single precision values. I don't actually care about the actual single p...
plus d'un an il y a | 1 réponse | 0
1
réponseundefined function error for builtin toolbox function
Did you install that toolbox when you installed Matlab? If not, run the 2021b installer again and only select the Image Processi...
plus d'un an il y a | 0
| A accepté
When I try to generate C++ code for generalizedInverseKinematics I get the following error Dimension 2 is fixed on the left-hand side but varies on the right ([1 x 8] ~= [1 x
@Aravindh Deiva G, I looks like you are trying to save the output of the validatestring function over the entries in value,...
presque 2 ans il y a | 0
Question
Deploying ROS2 Node with Custom Messages
I have Matlab code that includes a ROS2 node/publisher. I want to publish custom messages. This works when I run it natively in ...
presque 2 ans il y a | 2 réponses | 0
2
réponsesFind matching small matrix in larger matrix
An admittedly brute force approach, but Matlab doesn't have a built in method for finding patterns in an array/matrix (at least ...
presque 2 ans il y a | 0
| A accepté
Vectorize comparing a column vector in a matrix to all other vectors in the matrix.
You can use repmat.m to make a matrix of the same size. a = A.a - repmat(A.a(:,1),1,size(A.a,2)) b = A.b - repmat(A.b(:,1),1,s...
presque 2 ans il y a | 0
Filter design to remove noise
Are you talking about the high frequency stuff? Try lowpass.m
presque 2 ans il y a | 0