Answered
Convert Excel to csv with exact formatting
To achieve what you have requested, I believe you will need to load the data into MATLAB and then write it to a csv file using f...

2 years ago | 1

| accepted

Answered
MatLab does not reads Excel sheet properly
readtable just loads the data as is. You will still need to write code to perform any manipulation to the data. Perhaps fillmiss...

2 years ago | 0

| accepted

Answered
optimization toolbox missing for simbiology
It is a separate toolbox. If it is included in your license, you can install it using the Add-Ons explorer. You can see a list ...

2 years ago | 0

| accepted

Answered
split a matrix into two matrices according to some rule
I would look into clustering. Here is an attempt that uses dbscan, a spectral clustring algorithm included in the Statistics and...

2 years ago | 2

| accepted

Answered
Not enough input arguments error while running kilosort in matlab
Process data is a function, not a script function [rez, DATA, uproj] = preprocessData(ops) When you call a function, you have ...

2 years ago | 0

Answered
is it built in function or a structure ?
It is a helper function that is included with this example. On the upper right corner of the example page, use the 'Open in MATL...

2 years ago | 2

| accepted

Answered
How can I use splitapply() in matlab appdesigner?
You could use a differnt function that incorporates grouping, like gscatter. load carsmall gscatter(Displacement,Horsepower,Mo...

2 years ago | 0

Answered
StackedPlot with two tables with specific variables
If they have the same number of rows, I think what you would want to do is T = [A(:,["variable1ofA","var2ofA", "var3ofA"]),B(:,...

2 years ago | 0

| accepted

Answered
How to use setvaropts for strangely-formatted text file
You need to set the 'InputFormat' instead of the 'DatetimeFormat'. opts = detectImportOptions('chuSampleFile.csv'); opts = set...

2 years ago | 2

Answered
error unrecognized function or variable help me please :(
You need to define your function inputs. You have no variable in your workspace names signalsCell. Define one before calling you...

2 years ago | 0

Answered
I don't know how to fix this
The issue appears to be in your function coderun_radar_simulation, which has not been shared. You are trying to capture the outp...

2 years ago | 0

Answered
How to pull dates out of character array, to get a datetime array. The character array was created from a log file in txt format.
charArray = ['METRIC ALERT LOG - Sun Jan 1 13:15:20 2023' 'METRIC ALERT LOG - Sun Jan 1 21:30:20 2023' 'METRIC ALERT...

2 years ago | 0

| accepted

Answered
How to ignore special characters and retrieve the data prior to the character
I think another rather straightforward approach is to treat * and # as delmiters. I've simplified the read function for readab...

2 years ago | 0

Answered
MATLAB GUI code the Active Receptor should increased when at TstartLigand but im plot its decreased . Secondly how to get rid of this matlab ui.control even
The items you have circled are the Edit Field labels. An edit field component consists of an edit field and its label. To rem...

2 years ago | 0

| accepted

Answered
how to add markers on specific points ??
The MarkerIndices property was introduced around R2016b. This allows you to specify which points have a marker. See this example...

2 years ago | 0

Answered
How can i create a black and white mask for my thermo image? When i run this code,my mask is just a green block but it should be white and black. Everything under 10 is white
You are changing the colormap for the entire figure. You need to change it for just the specific axis. Try updating the code in ...

2 years ago | 0

Answered
Adoption of Name=Value in Function Calls what is best practice?
This really comes down to personal preference. They are all equivalent syntatically. Name=value syntax can feel more familiar fo...

2 years ago | 1

Answered
Quiver plot - vector direction
Your U and V values are all positive, so all quivers will point up and to the right. I think you want U and V to be the differe...

2 years ago | 0

| accepted

Answered
Even a simple code I wrote in matlab does not appear in the command window section, only the name of the file appears for example >>untitled1 How can I solve this?
There is nothing to solve. That is how MATLAB works. The command window is telling you what script was executed. It does not pri...

2 years ago | 1

Answered
How to match colors of an extracted contour with the colors of the main figure?
colormaps by default cover the range of data in your figure. You will want to manually set the color limits in the extracted fig...

2 years ago | 1

| accepted

Answered
Reading Clinical EEG (.ezdata) file IN MATLAB
ezdata appears to be a file created by Cadwell EEG Machines (along with .eas and .ez3). Based on what I see in the attached file...

2 years ago | 1

Answered
How to solve index? error
cValue is a scalar (only contains a single value), so the error is coming from your attempts to index a 2nd and 3rd value.

2 years ago | 0

Answered
HELP REQUIRED TO GET A LEGACY PROGRAM RUNNING
If you are going to have to rebuild anyway, I would suggest transitioning your gui to App Designer. MathWorks has been warning f...

2 years ago | 1

| accepted

Answered
An automatic way to change \ with / (windows vs. unix) only for "addpath"?
use fullfile to build your path. It will use the separator appropriate for your OS. "fullfile replaces all forward slashes (/) ...

2 years ago | 4

| accepted

Answered
I need help plotting data from a file
Your table must have more variable names than just those you are renaming. Try this. data.Properties.VariableNames(1:2) = varia...

2 years ago | 0

| accepted

Answered
I downloaded this code from github, and i dont know how to run it
https://github.com/ktapani/Neonatal_Seizure_Detection/blob/master/instructions_of_use.pdf

2 years ago | 2

Answered
Error message when attempting to plot selected area from a XLSX file: " Specify one or two table subscripts after the table."
What variables in T do you wnat to plot? Since T is a table, you must use one of these syntaxes plot(tbl,xvar,yvar) plot(tbl,y...

2 years ago | 1

| accepted

Answered
CHANGE SCRIPT CODE INTO GUI MATLAB
I suggest getting started by completeing the App Building Onramp. This will give you the bascs of building an app. Since you hav...

2 years ago | 0

Answered
Hello I have been using MATLAB online, how do I install a free copy on my computer? I'm having some problems downloading the app.
There is no free version of the desktop version of MATLAB. You can request a 30 day trial, or find an option that meets your nee...

2 years ago | 0

Answered
Where can I find the extractFSSTFeatures helper function in Waveform Segmentation using Deep Learning?
Use the Copy Command button to obtain the code necessary to open the example in your local version of MATLAB. This will download...

2 years ago | 1

Load more