Community Profile

photo

dpb


Last seen: Today 2012 이후 활성

Statistics

All
  • First Review
  • Master
  • Thankful Level 2
  • 36 Month Streak
  • Revival Level 1
  • Knowledgeable Level 4
  • First Answer
  • Solver

배지보기

Content Feed

보기 기준

답변 있음
Select rows of timetable based on Month range
To use the numeric months, wintertime = [1:3 11:12]; % [start, end] of desired months TTwinter = TT(ismember(month(TT.Tim...

약 9시간 전 | 0

답변 있음
Get maximum values across a cell array with multiple indexing.
Use grouping variables -- there's still a looping construct inside, of course, but you don't have to write it explicitly... >> ...

2일 전 | 1

| 수락됨

답변 있음
strsplit: the deliminator on both sides was still kept but not removed
WAD (Working As Designed) >> a = strsplit(' aa bb cc ',' ') a = 1×5 cell array {0×0 char} {'aa'} {'bb'} ...

5일 전 | 1

| 수락됨

답변 있음
Loop until Matrix value exceeds value
% pseudo code, salt to suit... A=[...]; % initialize A here maxB=60; % the test value for x...

10일 전 | 0

답변 있음
Create table of means from multiple tables
Simplest probably would be to convert to a 3D array and then use mean() along the third dimension.... tMeans=mean(cat(3,table2a...

15일 전 | 0

| 수락됨

답변 있음
How to change font type of bar plot labels?
... hAx=gca; hAx.TickLabelInterpreter='latex'; xticks(1:numel(str)) xticklabels(str) hAx.FontSize=20; ...

16일 전 | 0

답변 있음
How to write a specific number via a loop
Other than there aren't 23 lines in the code shown :), the problem is actually in the line distances = (deg2km(distance(lat1(z)...

21일 전 | 0

답변 있음
How to combine table output in one table?
Hr=2; u=11.5; Qm=7973504; X=[10:20]; sigma_y=0.22*X./sqrt(1+0.0001*X); sigma_z=0.20*X; Ground_Level_Conc=(Qm./(3.142*sigma...

22일 전 | 0

답변 있음
Searching for a file when the filename is always changing
"the filename will always be 'location 1 (random letters) \ test (random letters)'." rootdir='C:\Users\tathuen\Desktop\Data\'; ...

23일 전 | 0

| 수락됨

답변 있음
how can I read spreadsheet file which is not generated by excel in Matlab
I thought something like this might be the case -- it's a text, delimited file named as ".xls" -- Excel does have internal smart...

24일 전 | 0

| 수락됨

답변 있음
Bar plot with two axis no plotting as grouped
They're not stacked, they're just plotted on top of each other because there's only one series on each call to bar(); hence ther...

25일 전 | 1

| 수락됨

답변 있음
how to confusion matrix convert to heatmap style?
m=[923 4 21 8 4 1 5 5 23 6 5 972 2 0 0 0 0 1 5 15 ...

25일 전 | 1

| 수락됨

답변 있음
How can I break the text in two or three lines of the x tick label on a box plot?
Unfortunately, the tick label interpreter won't pass a string with embedded \n on; it instead splits the string into two. I don...

25일 전 | 1

| 수락됨

답변 있음
Why do I receive Not enough input arguments?
The error about not enough input arguments will come from how you called the function -- which you didn't show us. Whatever tha...

26일 전 | 0

답변 있음
How do you change the color of legend lines? How do you make x axis go from 0 to 2pi?
Define the x vector to plot against; the one numeric argument form of plot, as documented, plots against the ordinal position, o...

27일 전 | 0

질문


Strange Environment Behavior Windows 10 and MATLAB
I had been using if strcmpi(getenv('userdomain'),'SPECIFIC_STRING') to identify which system was running on in a compiled a...

27일 전 | 답변 수: 0 | 0

0

답변

답변 있음
How to move heatmap's Ylabel to colorbar's rightside
OK, one can take the last idea above and make things a little easier -- you don't actually have to have the two panels, but just...

28일 전 | 0

| 수락됨

답변 있음
All -9999 in a table to NaN
isBad=(T{:,:)==-5555); % logical array across table T T{:,:)(isBad)=nan; % assign NaN to those locations Use...

28일 전 | 0

답변 있음
How to find the first date of each month in a datetime array?
firstDate=groupsummary(d,findgroups(year(d),month(d)),@min); gives >> firstDate firstDate = 11×1 datetime array 14-J...

28일 전 | 0

| 수락됨

답변 있음
How to delete the top of the axes?
Try box off

28일 전 | 0

| 수락됨

답변 있음
help with reading txt file into matlab
Be far easier if you attached a representative piece of the file, but... The above is the wrong way to go about creating in imp...

29일 전 | 0

답변 있음
How can I plot a plot with two parameters?
It would be far easier if you would attach a short(ish) section of your data files themselves instead of us having to try to int...

29일 전 | 0

| 수락됨

답변 있음
How to move heatmap's Ylabel to colorbar's rightside
Unfortunately, you're a victim of the recent penchant of TMW to lock down these higher-level graphics objects so that the underl...

29일 전 | 0

답변 있음
how to link an excel file containing inputs and output columns with Matlab
The builtin functions in MATLAB to read/write Excel files read only the data content from cells, not the formulas contained in c...

29일 전 | 0

답변 있음
How to read input.txt?
Are the string data pertinent or just in the way of returning the numeric data? If the former, while you can make it work with ...

약 1달 전 | 0

답변 있음
Use of TreatAsEmpty to replace table values
'TreatAsEmpty' — Placeholder text to treat as empty value character vector | cell array of character vectors | string | string ...

약 1달 전 | 1

| 수락됨

답변 있음
How Do I get Less Digits Reported in a Formal Table Matlab Reporter?
<<rptgen format_numbers_in_a_table> is example in the doc for Report Generator. I don't have it so no experience; it took a s...

약 1달 전 | 0

답변 있음
Create loop for reading CSV file, runing and saveing the plot of it
https://matlab.fandom.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F There's also a fancy thing called a "tabular text d...

약 1달 전 | 0

답변 있음
How to make invisible only a part of an axis?
Not really any way piecewise, no. The axis color is one property as is 'Visible' either {'on','off'} Best could do that I can ...

약 1달 전 | 0

| 수락됨

답변 있음
How to calculate skewness and kurtosis via 'groupsummary'?
Presuming you have the Statistics Toolbox which defines the two statistics of interest m-files-- G = groupsummary(T,groupvars,m...

약 1달 전 | 0

더로드