답변 있음
choose multiple functions from a larger group
Using listdlg would be one easy-to-code way to get started -- although it doesn't have the facility to limit the number selected...

15일 전 | 0

답변 있음
How to export data displayed from uitable on GUI MATLAB to Microsoft Excel?
If you use a table for the uitable content, then two advantages -- The uitable looks just like the data table you're manipulati...

15일 전 | 0

답변 있음
Iterating over array in pair-wise manner and calling function with two args and taking max over all pairs
MAXI=128; % don't bury magic constants inside code; use variables n = 10; c=3; roi_1=randi(MAXI,n,c); n = 8; roi_2=...

16일 전 | 0

답변 있음
Trying to have a Matlab line plot with Xticks coresponding to numbers with unequal numerical gap but equal spacing.
Good start; a little extra than needed in some places, not quite enough others... :) x=[3:30].'; x(3:3:end)=[]; y = [0.964 0.9...

16일 전 | 0

답변 있음
show table from bottom to top
data=flipud(data); first...I'm pretty sure there's no direction flag in the uitable properties like in an axes to reverse the d...

16일 전 | 0

| 수락됨

답변 있음
How to count how many times a number repeat in a sequence
See <FEX/56131-runindex> There are other similar submissions with slightly different functionalities; search at your heart's co...

17일 전 | 0

| 수락됨

답변 있음
Merging two arrays containing decimal points into a table
Aha! As we suspected, the problem is in what was NOT shown -- the order variable is apparently an int32; MATLAB will silently c...

17일 전 | 1

| 수락됨

답변 있음
Visualization shows only the last 8 days
'DateRange' — Range of data to return datetime vector Range of data to return, specified as a comma-separated pair consisting ...

17일 전 | 2

| 수락됨

답변 있음
How to extract hour+minute from DateTime vector ?
Convert to durations and use isAMRush=iswithin(duration(hour(t),minute(t),0),duration(7,45,0),duration(8,45,0));

18일 전 | 0

답변 있음
I have a table of three columns and I want to find a particular value in third column using interpolation, how can I do that if I know the values at first two columns?
>> SI=scatteredInterpolant(X.',Y.',Z.') SI = scatteredInterpolant with properties: Points: [4×2 double]...

18일 전 | 0

| 수락됨

답변 있음
Labeling the X axis in an hour format while original data points were gathered every 5 minuites
Aptamer.Time=minutes(5*[0:height(Aptamer)-1]); % create the time vector at 5 min Aptamer.Time.Format='h'; ...

18일 전 | 0

| 수락됨

답변 있음
I want to convert a character series into numerical series using for loop
for j = 1:5 x = []; a = DNA_SEQS(j); ... You wipe out what you put in x later every time you start through the l...

18일 전 | 0

| 수락됨

답변 있음
2020a readtable error when specifying rectangular range
The error isn't anything to do with the 'Range' argument; it's the file name ("First input must...") "ChTableXLS is a string wi...

18일 전 | 0

답변 있음
Put the leading number (not sequence ) corresponding to the number in the column
criteria = [10000,20000,50000,55000,55500,56000,57000,58000,59000,80000]; rowcell={'10302','20245','50108','55112','58013','859...

20일 전 | 0

답변 있음
How can pull data from multiple excel files?
<read-a-sequence-of-spreadsheet-files> illustrates use of <datastore>

20일 전 | 0

답변 있음
Plot strings on y axis
This is the identical Q? including the example answered at <how-to-plot-each-row-of-a-mxn-array-as-one-value?> Apparently, a ho...

20일 전 | 0

답변 있음
When I use App Designer writetable I include VarNames and RowNames but the A1 cell says "row" when I would want it to say "distance"
global LineNumber filename=sprintf(InputFile,LineNumber); x=round(3.5:3:60.5,1); Names = sprintfc('%.1f In.',x); RNames = ...

20일 전 | 0

| 수락됨

답변 있음
How to plot the mean value of each year in one point only ( EACH 1st july ) ?
Looks like a lot of extra work going on here--without the actual file we can't tell for sure, but one would presume the dates ar...

20일 전 | 0

| 수락됨

답변 있음
Merge Rows in Table with One Categorical Variable and One Numeric; Average the Numeric
S=categorical([["A", "B"];["A", "B"];["C", "B"];["W", "T"]]); V=[52;65;35;25]; tT=table(S,V); [~,~,ia]=unique(tT.S,'rows'); ...

20일 전 | 0

답변 있음
Using fscanf to correctly store them in a struct and go to the next patient
My approach would begin something like P=readlines('Patients_Data.txt'); % read the file as string array ixN...

21일 전 | 0

답변 있음
How to plot each row of a MxN array as one value
Looks like hL=stairs(z*2.^(2:-1:0).'); yticks([0:2:6]) yticklabels(dec2bin(yticks,3)) otta' do it... That plots against ord...

22일 전 | 0

| 수락됨

답변 있음
Replace Duplicate Row Value in Matrix with other value of the matrix to create unique combination row wise
There doesn't seem any reason to pick one possibility over another other than arbitrarily so one approach would be something lik...

23일 전 | 0

답변 있음
Replacing Specific Elements in an Array
I'd suggest it's not good practice to create four separate named variables; use a cell array or a 3D array instead. But, to cre...

23일 전 | 0

답변 있음
My column and row names are not transferring to Excel when I use writetable on App Designer
Read the writetable doc -- writetable(t,filename,'writevariablenames',1) There are many other options available as well, see t...

23일 전 | 0

| 수락됨

답변 있음
how to decimate signal with fs 44100 into fs10k
decimate does what the name says -- sets a factor of n fewer samples. You're looking for resample instead d_x=resample(x,10.0,...

23일 전 | 0

답변 있음
Looping with datetime greater and less than 24 hour
Since indeed mod() doesn't do what is wanted here for negative hours, I'll go ahead and post the alternative way that's akin to ...

23일 전 | 0

답변 있음
Display all rows between two ranges
You're on the right (no "w" in this type of "right" in English) track -- just use the locations you found as indices -- exceptin...

23일 전 | 1

| 수락됨

답변 있음
How to get the number in the cell containing the letter and space
>> str2double(extractAfter(a,' ')) ans = 1001 1101 1201 1301 1401 >> ADDENDUM: ...

25일 전 | 1

답변 있음
Remove a set of intervals from an array
That's the brute force way to code it and use MATLAB, but yes, it's just array indexing % delete the rows identified -- looping...

25일 전 | 1

더로드