Python, R, MATLAB, Swift
Statistics
RANK
763
of 289,978
REPUTATION
90
CONTRIBUTIONS
11 Questions
39 Answers
ANSWER ACCEPTANCE
90.91%
VOTES RECEIVED
7
RANK
of 19,616
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
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 months ago | 0
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 months ago | 0
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 months ago | 0
| accepted
Algebraic state variables for nlmpc
The Nonlinear Model Predictive Control Toolbox does support Differential-Algebraic Equation (DAE) systems, and you can incorpora...
10 months ago | 0
| accepted
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 months ago | 0
| accepted
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 months ago | 0
| accepted
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...
12 months ago | 1
| accepted
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 ...
12 months ago | 0
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...
12 months ago | 0
| accepted
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...
12 months ago | 0
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 ...
12 months ago | 0
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...
12 months ago | 0
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...
12 months ago | 0
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...
12 months ago | 0
| accepted
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...
12 months ago | 0
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 months ago | 0
| accepted
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 months ago | 0
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 months ago | 0
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 months ago | 0
| accepted
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 months ago | 1
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 months ago | 0
| accepted
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 months ago | 0
| accepted
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 months ago | 1
| accepted
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 months ago | 1
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 months ago | 0
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 months ago | 0
| accepted
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...
1 year ago | 0
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...
1 year ago | 0
| accepted
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...
1 year ago | 0
| accepted
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...
1 year ago | 1