photo

ProblemSolver


Active since 2022

Followers: 0   Following: 0

Programming Languages:
Python, C++, MATLAB, HTML, CSS, Arduino, VHDL, Visual Basic

Statistics

  • 3 Month Streak
  • Knowledgeable Level 3
  • Thankful Level 2
  • First Answer

View badges

Feeds

View by

Answered
Calling C function generated in MATLAB coder
The issue is that MATLAB Coder has generated C code that expects input arguments of specific types like emxArray_uint32_TPtr ins...

meer dan een jaar ago | 1

Answered
why are fig files opening invisible?
There could be a few reasons why MATLAB started opening figures with the Visible property set to 'off' by default: You may have...

meer dan een jaar ago | 2

Answered
Hello, I have problem with odeToVectorField in ODE second order system of equations.
The error you are getting indicates that the system of equations defined by DOM01 is non-linear. The odeToVectorField function i...

meer dan een jaar ago | 0

Answered
it's possible to velocize this loop?
However, to the understanding what you are looking for is VECTORIZING the loop: First, you should change 'find to logical index...

meer dan een jaar ago | 0

Answered
SITL with px4 toolbox in external mode with jmavsim
Those warnings indicate that there is likely a mismatch between the PWM values being sent by your controller and what the SITL s...

meer dan een jaar ago | 0

| accepted

Answered
Change colorbar axis values
xticks = [0 pi/2 pi 3*pi/2 2*pi]; xticklabels = {'0','π/2','π','3π/2','2π'}; set(gca,'XTick',xticks,'XTickLabel',xticklabels) ...

meer dan een jaar ago | 0

| accepted

Answered
Plot 2D flux maps in 3D
% Define the data for the panels panel1 = [23, 54, 0; 34, 65, 0]; % Replace with your data for panel 1 panel2 = [76, 34, 0; ...

meer dan een jaar ago | 0

Answered
I am trying to find the column space of a matrix
@Taylor -- You just need to use this: pivotColumns = find(any(rrefA, 1)); I hope this works!

meer dan een jaar ago | 0

Answered
for loop and function handle
Hello @Jorge Garcia Garcia -- To my understanding of the code snippet that you provided it can be couple of things. To begin wi...

meer dan een jaar ago | 0

| accepted

Answered
out-of-memory because of large array: tall array as a workaround?
Hello @SA-W -- You could use tall arrays that you suggested, and then you need to divide the data and then recollected them, a...

meer dan een jaar ago | 0

| accepted

Answered
Plotting an algorithm with distance matrix as input and all iteration results as output
@Amna Habib -- Please find the change. You need to add an output argument that will store the best tour and distance for each i...

meer dan een jaar ago | 0

Answered
How do you access table data to be used with basic operators?
Hello @Jesse Finnell -- I wasn't sure if this what you were expecting; to my understanding if you trying to access the "Depth...

meer dan een jaar ago | 0

Answered
Problem in Visualising line plots and color coding the lines
Hello @Mark: You are on the right track however you do these minor changes: Instead of this: % Set the range of random number...

meer dan een jaar ago | 0

| accepted

Answered
Training a CNN model with Numerical Data for Binary Classification
Hello @Emmanuel: There are couple of things that you have overlooked and therefore causing the error issues: Since you are wor...

meer dan een jaar ago | 0

| accepted

Answered
simulation of adsorption with heat transfer
Hello @Saradsorption, From the code that you have provided shows that the variables q1ads and q2ads are not assigned properly. ...

meer dan een jaar ago | 0

Answered
Why does my code open the code for fittype, and then ask me to click continue?
This is because you are passing different data type: ft=fittype( @(a, b, c, d, x, y) a.*x.^b+c.*x.^2.*y+d.*x.^1.5.*y.^0.5, 'ind...

meer dan een jaar ago | 0

| accepted

Answered
import tables from Matlab struct to matrices in python
You need to careful about the datatype that you are working with. I assume you are working with uint32, which is an unsigned 32...

meer dan een jaar ago | 0

Answered
Can I rotate a contour plot with the rotate function?
As @Star Strider said, that it does not work on the contour plots. However you can do something like this as an example: % Crea...

meer dan een jaar ago | 0

| accepted

Answered
Extracting data from .nc file
It seems like you are experiencing difficulties opening the NetCDF file and facing limitations when using `ncdisp` to display th...

meer dan een jaar ago | 0

| accepted

Answered
Help on Making an Accurate Confusion Matrix.
Based on the provided code, it seems that the issue lies in how you are assigning the 'Unknown' class ('U') to the misclassified...

meer dan een jaar ago | 0

| accepted

Answered
Radon Transform works unexpectedly
The behavior you observed in the radon transform result is due to the discretization and interpolation process used in the algor...

meer dan een jaar ago | 0

Answered
How can I loop/index through a table inside a table to generate plots? I'd like to store the plots back into the table.
I am not sure, if this is what you are exactly looking for: To achieve your desired output, you can loop through each table in ...

meer dan een jaar ago | 1

| accepted

Answered
How can I plot transfer function?
To plot the magnitude and phase of a transfer function with complex zeros and poles in MATLAB, you can use the bode function. ...

meer dan een jaar ago | 1

Answered
How do I fix this for regression analysis? Error message: Error in analysis spm_jobman('run', jobfile);
The error message you're encountering indicates that MATLAB is unable to find the file analysis_regress_ptsd_job.m, which is ref...

meer dan een jaar ago | 1

Answered
How to generate a figure caption in Word with Table of Figures Reference in the caption?
The error you encountered while using the InsertCrossReference method in MATLAB's ActiveX interface for Word is likely due to in...

meer dan een jaar ago | 0

Answered
confidence intervals returned by predict()
Hello William, The discrepancies you observe in the confidence intervals returned by the predict function can be attributed to ...

meer dan een jaar ago | 1

| accepted

Answered
How would you code and solve this in matlab?
Hello Thomas -- As this is your homework assignment. Therefore we cannot provide you with a direct answer due to plagarism. How...

meer dan een jaar ago | 2

Answered
How can i combine gabor filters and CNN for face recognition
Hello Samia We don't have have the specifics of your needs. But you can apply the CNN with Gabor Filter by following steps: Ge...

meer dan een jaar ago | 0

| accepted

Answered
Vectorize embedded for and while loops
Hello Maggie; Not sure if this is what you are looking for? But to optimize the performance after looking at your snippit code,...

meer dan een jaar ago | 0

Answered
Matlab crash due to too many warnings while handling with box as subchart in stateflow
Hello Purvish, The warnings you're encountering in Stateflow while working with a box as a subchart indicate potential issues w...

meer dan een jaar ago | 0

Load more