Answered
Error Exporting Table Using Parquetwrite (multidimensional array)
parquetwrite load gTruth for i=1:height(gTruth), gTruth.Apple(i)={gTruth.Apple{i}(:)};end parquetwrite('test.parq',gTruth) t...

7 months ago | 0

| accepted

Answered
how to fix this error ?
Well, you'll have to understand the role of the adjacency matrix in Algorithm 2 in the following paper: R. Shafipour, A. Khodab...

7 months ago | 0

Answered
Plot multiple columns of table with datetime
Use a @doc:timetable instead and then geth stackedplot for free that does it all for you. Use the target figure/panel to place ...

7 months ago | 0

Answered
HOW TO MAKE THE nan VALUE DISAPPEAR from my extraction, I also like someone to help me make a dynamic figure representing the evolution of the wind per day.
unzip('wind1.zip') d=dir('w*.nc'); info=ncinfo(d(1).name); info.Variables(:).Name t=ncread(d(1).name,'time'); Wind=ncread(d...

7 months ago | 0

Answered
How do I get ply file imports using App designer
% Button pushed function: Button function ButtonPushed(app, event) [f,d]=uigetfile('*.ply','Get PLY File'); ...

7 months ago | 0

Answered
I'm new to MATLAB GUI and want to ask for help
The problem running the function is that it expects there to be an already-existing .fig file that you didn't download with the ...

7 months ago | 0

| accepted

Answered
How to clear Panel of contents (Axes)
delete the objects desired using their handles

7 months ago | 0

| accepted

Answered
App designer - adding tag to objects
"..., when I add a text area, MATLAB gives the name TextArea by default to the obejct and I am not able to change it." Ah, but ...

7 months ago | 0

| accepted

Answered
Save in App designer text area value not as .txt, .dat, or .csv file - Matlab
Follow the instructions, Luke! <VBG> See rest of named-value pairs at <writecell> writecell(app.XYZfilecontentTextArea.Value, ...

7 months ago | 1

Answered
Join tables based on times that are within 3 hours of each other
A = table(["AAA"; "BBB"; "BBB"; "CCC"; "CCC"; "CCC"], ... [datetime('2023-07-07 10:55:19'); datetime('2023-07-28 09:31:00')...

7 months ago | 1

Answered
Add multi-row data to App Designer Text Area
You can do it by putting every record into a new line in a string array, but it will be a pain to deal with. T=join(string(resh...

7 months ago | 2

Answered
How to convert quarterly data into monthly and merge together
Your described process, while it would work, is going "'round Robin Hood's barn" to get there. Use a timetable and retime and i...

7 months ago | 0

Answered
how to plot a time series from row 1000 to 3000
d=dir('*bus*.mat'); load(d.name,'Id_6') whos head(Id_6) ix=(Id_6.Time>=0.1)&(Id_6.Time<=0.3); plot3(Id_6.Data(ix,1), Id_6.D...

7 months ago | 1

Answered
My .mat files contains data tested on a vehicle which includes latitudes, longitudes, speed etc.
load yourfile.mat plot(Signal_82,Signal_81) just maybe????

7 months ago | 1

Answered
Import data from file
If the need is just the timeseries data at the end and not the header stuff, then it gets easier... d=dir('*.txt'); l=readline...

7 months ago | 0

Answered
reduce resolution of an MRI image
newimage=rescale(newimage,0,max(oldimage,'all')); maybe???

7 months ago | 0

Answered
Getting average for a range of data on a plot. Not entire range, only for a section.
"... the data is from a wind tunnel analysis and each step is when the frequency of the fan changes. ..." So, you didn't record...

7 months ago | 0

| accepted

Answered
How to fix error: Error using logical Conversion to logical from table is not possible?
Well, all you've shown us is a file name in a folder that contains that text string; one presumes you would then have to also lo...

8 months ago | 0

| accepted

Answered
Overwriteing select values in multidimensional array
You're just making it harder than it is... tmp1 = (rand(5,5,5)-.5)*10; loc1 = tmp1 > 0; tmp1(loc1)=123456; % Use the fo...

8 months ago | 0

Answered
Horizontal line for each category in a swarmchart with categorical x axis
load T T.x_cat=reordercats(T.x_cat,{'N-0','R-0.15','R-1','R-4','F-4','F-12','F-24'}); x_line = unique(T.x_cat); s1 = swarmcha...

8 months ago | 0

| accepted

Answered
Formatting issue using readmatrix/readcell/readtable from an excel sheet in to MATLAB App Designer
There's an issue with Excel and writetable and friends -- I took an existing workbook that had four columns of numbers and added...

8 months ago | 0

| accepted

Answered
Split excel file and get ordered splittedfile names
Just use the looping index.. data = readtable('data.xlsx'); stations = unique(data.Station); for i=1:numel(stations) x =...

8 months ago | 0

| accepted

Answered
Data sorting using logic
goodRows1 = logical(iswithin(IndiMSD(97,:),5000,60000));% examine last element of each column logic_MSDwithin = goodRows1(:,goo...

8 months ago | 0

| accepted

Answered
I have two set data and I want to calculate the area in different x and plot the area curve with respect to X
x=[1 1.5 1.7 2 2.2 2.6 2.8]; y=[0 2 6 7 8 10 5]; A=trapz(x,y); % the total area (one number) a=cumtrapz(x,y...

8 months ago | 0

Answered
Import data with 1000 seperator
It's still questionable what is the content of actual file, but it appears one can make the OP's presumption come true...now whe...

8 months ago | 0

Answered
How to Create a Equidistant histogram
Well, the prior has some things of academic interest so I won't delete it, but actually when got a moment to poke around, it tur...

8 months ago | 0

| accepted

Answered
How to Create a Equidistant histogram
% The edge of each bin Xedges = [10,22,36,49,55,67,77]; Yedges = [21,30,55,70,85,93]; % Obtain the sample count in each bin ...

8 months ago | 0

Answered
How to avoid unnecessary legends in the graph?
Yet another solution (and the one I think most appropriate, of course!).... plot(t,TGN,t,T1N,t,ML1N,t,ML2N,t,ACN,t,EMSB1N,t,MFN...

8 months ago | 2

Answered
How to Fix the “Dot indexing not supported for variables of this type” Error in MATLAB
That's just a plain text file; use readmatrix to bring it in as an array... % first read as text to be certain of file structur...

8 months ago | 0

| accepted

Answered
Order of files pulled from Datastore
"...around 1000 csv files, labeled filename_1, filename_2,...filename_1000" It's sorted in ASCII order; hence filenames begin...

8 months ago | 0

Load more