Community Profile

photo

LeoAiE


Active since 2020

Programming Languages:
Python, R, MATLAB, Swift

Statistics

All
  • 3 Month Streak
  • Knowledgeable Level 3
  • First Answer
  • Thankful Level 3
  • Promoter
  • Community Group Solver
  • Solver

View badges

Content Feed

View by

Answered
the output of datastore is different by initial state
In your code, the obj.NumObservations is essential to perform shuffling operation. It defines the number of files or images you ...

9 månader ago | 0

Answered
Timer callback function does not execute parfeval?
I think the issue here is that the timer function is not able to recognize the pool variable in the myCallbackFunction. The vari...

9 månader ago | 0

Answered
Add data from one matrix to another by the values of one column
If the ID numbers in the first column of both matrices are sorted in ascending order, then you could use the intersect function ...

10 månader ago | 0

| accepted

Answered
Algebraic state variables for nlmpc
The Nonlinear Model Predictive Control Toolbox does support Differential-Algebraic Equation (DAE) systems, and you can incorpora...

10 månader ago | 0

| accepted

Answered
Create transparent overlay imagesc for certain values
Your approach seems mostly correct, however there are some minor adjustments that you can make to achieve the desired result. P...

11 månader ago | 0

| accepted

Answered
Load data from .mat file to be used in other functions App designer
Based on the code snippet and your explanation, it seems like you are trying to load a .mat file when a checkbox in your GUI app...

11 månader ago | 0

| accepted

Answered
How to perdict timeseries using already trained net from nnstart tool in Matlab
here is what I did: % Load data load('Test_1.mat'); dataSeries = data; % Prepare input and target data X = num2cell(dataS...

11 månader ago | 1

| accepted

Answered
Extra zeros added to a TF by zero()
It's possible that when you convert the state-space model to a transfer function, some additional zeros might be introduced due ...

11 månader ago | 0

Answered
Error when training Fast R-CNN network with roi input
The error message suggests that the input datastore is returning more than one observation per row for network input 2. This mig...

11 månader ago | 0

| accepted

Answered
Machine learning approach for tool wear prediction with more input values than output values
Yes, there is a machine learning approach to train your data with multiple input values per output value. In your case, you have...

11 månader ago | 0

Answered
How to get the area of a shapefile with bounding box
To calculate the area of your shapefiles, you can use the polyarea function in MATLAB. Since you have the bounding box, you can ...

11 månader ago | 0

Answered
Color's histogram and histogram's comparasion.
Maybe you have implemented the histogram computation and similarity calculation using Euclidean distance. there are a few modifi...

11 månader ago | 0

Answered
keep solution from function into an array
function [x, fval, incumbent] = BnB(f, A, b, Aeq, beq, lb, ub, incumbent) [x, fval] = linprog(f, A, b, Aeq, beq, lb, ub); [in...

11 månader ago | 0

Answered
Read text file with blank lines as spacer
You can add a condition to check if the current line is not empty before processing it. This should handle the case where you ha...

11 månader ago | 0

| accepted

Answered
I need help using fmincon.
It seems like the optimization algorithm is finding a solution that is far away from the expected range of values. You can add n...

11 månader ago | 0

Answered
How to create a color-coded categorical tile chart
You can achieve this using the imagesc function in MATLAB. First, create a colormap for the categories, and then use the imagesc...

12 månader ago | 0

| accepted

Answered
Variable simulation not being able to be graphed.
The main change I made was to update the tally(k) value inside the for loop instead of assigning it at the end. This way, the ta...

12 månader ago | 0

Answered
How can I add arrows to each integrin particle in my plot that is moving.
Here is my shot at this! N=10; % number of integrins L=100; % size of the domain 100nm D=.01; % diffusion coefficient dt=...

12 månader ago | 0

Answered
How do I sort excel data by Age
Hi, Let me know if that's what you looking for! % Assuming you have an array "ages" containing the age values from the Exc...

12 månader ago | 0

| accepted

Answered
I'm getting a matrix error of inconsistently on line 45, any tips how I can fix it.
It seems there is an issue with the assignment of the colors variable in the last part of your code. N=10; L=10; D=.01; dt...

12 månader ago | 1

Answered
calculating the variability between three different mice and within one mouse code. pleas help to confirm works as intended
Your code reads the data from the .mat files, concatenates them, and calculates the mean and variance for each mouse and the gro...

12 månader ago | 0

| accepted

Answered
Construction of a matrix from other (MATLAB)
To modify the final matrix H1 to achieve different code rates, you can add extra rows and columns with the required number of ...

12 månader ago | 0

| accepted

Answered
Euller method to solve mackey glass system
The main issue with your implementation is that you're using the parameter tau as an integer representing the time delay in term...

12 månader ago | 1

| accepted

Answered
creating standard error of mean for bar graphs in code, can you please correct/modify/help my code?
Your code seems to be mostly correct, but there are a few things that need to be adjusted to compute and display the standard er...

12 månader ago | 1

Answered
Unrecognized function or variable 'mexTDMS'
Hi, It seems like you are using a custom TDMS reading function that requires 'mexTDMS' and it is not found in your MATLAB envi...

12 månader ago | 0

Answered
I want to add the perimeter in so it checks the perimeter of each floor. but when I do it calculates the perimeter value for the loops a and b instead of just the space on b b
If you want to calculate the perimeter for each space on each floor, you can add the perimeter calculation inside the nested loo...

12 månader ago | 0

| accepted

Answered
How to obtain convergence of the curve to my boundary condtion?
It seems like you are trying to enforce the boundary condition T(1,:) = 1 and T(end,:) = 0 after the solution is computed in eac...

12 månader ago | 0

Answered
Changing the plot parameters for the rfplot function
In the rfplot function, you can't directly pass the line properties as additional arguments like in the basic plot functions. In...

12 månader ago | 0

| accepted

Answered
Create a signalDatastore from csv files
In your case, you can use a tabularTextDatastore to read the CSV files, and then use the SelectedVariableNames property to selec...

12 månader ago | 0

| accepted

Answered
Contour Plot with Boolean Indices (z must be at least a 2x2 matrix)
The issue you're facing is due to the fact that when you use logical indexing with an uninitialized array like Z, MATLAB automat...

12 månader ago | 1

Load more