Community Profile

photo

ProblemSolver


2022년부터 활동

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

통계

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

배지 보기

Content Feed

보기 기준

답변 있음
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...

6개월 전 | 1

답변 있음
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...

6개월 전 | 0

답변 있음
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...

6개월 전 | 0

답변 있음
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...

6개월 전 | 0

답변 있음
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...

6개월 전 | 0

| 수락됨

답변 있음
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) ...

6개월 전 | 0

| 수락됨

답변 있음
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; ...

8개월 전 | 0

답변 있음
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!

8개월 전 | 0

답변 있음
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...

8개월 전 | 0

| 수락됨

답변 있음
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...

8개월 전 | 0

| 수락됨

답변 있음
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...

8개월 전 | 0

답변 있음
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...

8개월 전 | 0

답변 있음
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...

8개월 전 | 0

| 수락됨

답변 있음
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...

8개월 전 | 0

| 수락됨

답변 있음
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. ...

8개월 전 | 0

답변 있음
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...

8개월 전 | 0

| 수락됨

답변 있음
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...

8개월 전 | 0

답변 있음
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...

8개월 전 | 0

| 수락됨

답변 있음
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...

8개월 전 | 0

| 수락됨

답변 있음
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...

8개월 전 | 0

| 수락됨

답변 있음
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...

8개월 전 | 0

답변 있음
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 ...

8개월 전 | 1

| 수락됨

답변 있음
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. ...

8개월 전 | 1

답변 있음
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...

8개월 전 | 1

답변 있음
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...

8개월 전 | 0

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

8개월 전 | 1

| 수락됨

답변 있음
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...

8개월 전 | 2

답변 있음
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...

8개월 전 | 0

| 수락됨

답변 있음
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,...

8개월 전 | 0

답변 있음
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...

8개월 전 | 0

더 보기