Community Profile

photo

dpb


Last seen: Today Active since 2012

Statistics

All
  • Revival Level 2
  • First Review
  • Master
  • Thankful Level 3
  • 36 Month Streak
  • Knowledgeable Level 5
  • First Answer
  • Solver

View badges

Content Feed

View by

Answered
Axes Limit in Curve Fitting Toolbox of MATLAB 2022a
Under Tools menu.

alrededor de 15 horas ago | 0

Answered
Filtering Table Data for highest recording with multiple samples per day
Use a <timetable> and <@doc:retime>

alrededor de 15 horas ago | 0

Answered
Cross product of two tables without common key
May be something more exotic, but I'd just build it from the pieces... tT=[table(reshape(repmat(t1.Name,1,height(t2)).',[],1),'...

alrededor de 15 horas ago | 0

Answered
Can somebody explain the following code ?
Just turns into binary image at the threshold value, th NB; the double loop construct in MATLAB should be written as vector log...

alrededor de 20 horas ago | 0

Answered
How can I export a string to a .txt file?
As documented, save translates character data to ASCII codes with the 'ascii' option. It means it literally! Use writematrix(...

alrededor de 22 horas ago | 0

| accepted

Answered
how to search start and end indices of longer interval with threshold and variance conditions
The function does return the change point indices -- you just didn't call it with a return value to save them...that plot looks ...

alrededor de 23 horas ago | 0

Answered
combine 2 timetables with different variables into 1 timetable?
ttC=synchronize(ttA,ttB); % catenate the two horizontally at matching times ttC=ttC(isfinite(ttC.Price),:); ...

1 día ago | 0

| accepted

Answered
Extract sub array from d-dimensional array given indices for each dimension
Did you try the obvious??? Smallish example, but works in general... >> d=3;A=reshape(1:4^d,4,4,[]) % make up a s...

1 día ago | 0

Answered
How to calculate rmse in daily and monthly scale?
Where's the date data to go with the data -- or is it daily for a given 30-day month, maybe? If so, use a timetable with the da...

1 día ago | 0

Answered
when datenum is the x-axis How to change the x-axis to discernable time
On an assumption you can use datetime t=datetime(2000,1,1):days(1):datetime(2000,1,1)+calyears(6); % build daily time vector o...

4 días ago | 0

Answered
plotting leastcurve fit through exceldata
Pass the data and generalize instead; don't hard code indices into indexing expressions. Also, MATLAB has builtin functions pol...

6 días ago | 0

Answered
I have found respective latitude & longitude points from an excel file-- I want to export the data that satisfies both restrictions on the lat & long (matching rows).
Making it harder than need be -- first, use readtable instead of readcell()... tAIS=readtable('AIS_2018_05_18_ex.csv','Range','...

6 días ago | 1

Answered
cell of characters to column
We need to see this in situ -- how did you get it into such a form, first. Attach the file from whence the data came (or a repr...

6 días ago | 0

| accepted

Answered
Help on ploting bar graph using table
Pursuant to the previous comments; my suggestions would result in something like >> tSinghBar=readtable('data2.xlsx'); >> tSin...

6 días ago | 0

Answered
(In excel) Reading rows with text, in between continuous rows of numbers, by 'readtable' function?
readtable() can't do that -- each column must be the same data type -- or a cell which can contain either, but then would have t...

6 días ago | 1

| accepted

Answered
Change figure size based on the number of nexttile
Well, when you use the 'flow' option, that's what you've told tiledlayout you want -- the size/location of the figures to update...

7 días ago | 0

Answered
cell merge and print
Depends upon what you mean by "merge" here...if you want the numeric result, that's D=-reshape(diff(reshape(M.',2,[])),size(M,...

7 días ago | 0

Answered
Searching for slightly different versions of one string in another string array
>> S='ABC12'; >> A(matches(strrep(A,' ',''),S)) ans = 1×3 cell array {'A BC1 2 '} {'AB C 12'} {' A B C1 2'} ...

8 días ago | 0

| accepted

Answered
Help with changing text in a table
tSingh=readtable('singhData.xlsx'); catnames={'Protein A','VI','DI','AN', 'UF','CA','VRF','DF'}; tSingh.Step=categorical(tSing...

8 días ago | 0

| accepted

Answered
Help with changing text in a table
It's always bestest to attach a short section of your file/variable that illustrates...but will take a stab at it from the descr...

8 días ago | 0

Answered
Create comma-separated list from data of UITable
>> which -all kmlwritepoint 'kmlwritepoint' not found. >> So this is not a MATLAB function I've got... kmlwritepoint shows i...

8 días ago | 0

| accepted

Answered
Use XSteam with vectors
You'd have to rewrite the interface for XSteam itself to know what to do with vector inputs; I've looked at that code some in th...

9 días ago | 0

| accepted

Answered
Hi there, I want to show only one x axis value (on 0 value) bold character in my x-axis. I already draw a vertical line on zero value by xline(0) command. Thanks in advance!
You'll have to write the tick labels manually; can't change the characteristics of individual tick labels as they're just text s...

9 días ago | 1

| accepted

Answered
datenum(year,month,day,hr) that returns integer
Wrong approach. Instead, convert the table to a timetable; there are direct, builtin functions to return by rowtimes either ind...

9 días ago | 0

| accepted

Answered
How to get the highlighted parts from the text file to another separate text file?
D=readlines('SB_PB.txt'); ix=find(contains(D,'NODE FOOT')); NodeData=str2double(split(strtrim(D(i+3)))); to simplify the solu...

10 días ago | 0

| accepted

Answered
Was struct2array removed from MATLAB?
struct2cell seems to be lowest level still extant, yes. <struct2array#answer_403725> gives some history(*) of its evolution fro...

10 días ago | 0

Answered
How to add header row to cell array?
A cell array doesn't have the facility for headers, per se; if you add to it you've effectively created more data -- and when yo...

10 días ago | 0

Answered
How do I specify the datatype for readcell?
readcell will allow the use of an import options object whch would let you set the variable types. However, I'd strongly encour...

11 días ago | 1

| accepted

Answered
Polyfit on a 3d plot
That's fairly simple, just loop over the displacement array with a set of the position data to compute that set of coefficients ...

11 días ago | 0

| accepted

Load more