回答済み
Finding Particular Values In 3D Plots
"... finding the average value of the data in the z-direction throughout all time (i.e. the average z-value for the 1000 frames)...

約7年 前 | 1

| 採用済み

回答済み
Heatmap font size. Can you change axis and cell label fonts independently?
>> hHM = heatmap(tbl,'Smoker','SelfAssessedHealthStatus'); >> hHM==gca ans = logical 1 >> So, the Answer to the Q? i...

約7年 前 | 0

回答済み
How to conditionally assign characters for a new column in a table
Expanding a little on Walter's comment... Lat = [49, 50, 51, 52].'; % create the right orientation in t...

約7年 前 | 0

| 採用済み

回答済み
Label contour plot elevation marking with text
By using clabel instead, yes...but takes some munging-on there, even. Using the example from countour as starting point-- x = ...

約7年 前 | 0

| 採用済み

回答済み
Plot matrix with columns of same color
You mean x=1:100; y=randi(420,numel(x),4); c={'r','g','b','k'}; figure hAx=axes; hold on xlim([0 11]) arrayfun(@(i) plot...

約7年 前 | 1

| 採用済み

回答済み
How to write elements of a nested cell array to an excel?
Since all aren't same size, the trivial solution of xlswrite(cell2mat(WS)) is out unless you augment the shorter to the length...

約7年 前 | 0

回答済み
generate a sequence from matrix
Interesting...kinda' cute solution...altho note that the suggested answer is wrong; the minimum for row 7 is the 3 in column 2, ...

約7年 前 | 0

| 採用済み

回答済み
How to truncate textscan reading
You can't on read. Just round() the data to whatever precision you want after reading it in. x=round(x,1,'significant'); See ...

約7年 前 | 0

| 採用済み

回答済み
A Peak in y-axis dwarfing the other plot points
You have basically one of three choices -- Set ylim where you want it and let the rest of the graph go off the top and not be s...

約7年 前 | 1

| 採用済み

回答済み
display every value of a matrix in histogram
Ah! The question isn't about a histogram at all...or, it is, but not a histogram of the data but just plot the counts computed ...

約7年 前 | 0

| 採用済み

回答済み
create matrix from other two matrices
t=reshape([reshape(temp_n1,8,[]);reshape(temp_n2,3,[])],[],1);

約7年 前 | 0

| 採用済み

回答済み
display every value of a matrix in histogram
hist(val,unique(val))

約7年 前 | 0

回答済み
Polynomial of Random Variables
Then b=[1 0 0 1 2]; % coefficients 4th order poly P=polyval(b,normrnd(mu,s,m,n)); % generate mxn rand p...

約7年 前 | 0

| 採用済み

回答済み
how to have labeled and unlabeled ticks on the x axis
DOH! figure hAx=axes; xlim([0 2500]) hAx.XMinorTick='on'; Now, this may or may not produce the desired number of minor tick...

約7年 前 | 0

回答済み
how to have labeled and unlabeled ticks on the x axis
Actually, the expedient way may be to have two axes...the one with the desired tick labels and the second overlays it with the o...

約7年 前 | 4

回答済み
How to detect change in mean value of a signal
The linear or similar trend is probably detectable as Jan says by fitting linear trend line and testing for nonzero slope..._IF_...

約7年 前 | 0

回答済み
how to have labeled and unlabeled ticks on the x axis
Not quite as easy as one might think...at least unless somebody else can come up with more expedient route... figure ...

約7年 前 | 0

回答済み
Extracting data from matlab figure into .txt file
How on earth was that figure created??? In a loop plotting a new complete line for every iteration of each point, apparently......

約7年 前 | 1

回答済み
How to use linear interpolation for filling with 3s inside empty spaces in a matrix of os and 3s
for i=1:size(M,2) ix=find(M(:,i)==3); if numel(ix)>1 M(ix(1):ix(end),i)=3; end end

約7年 前 | 0

回答済み
Extract maximum value out of two column in a row & delete the last row
B=[A(:,1:end-2) max(A(:,end-1:end),[],2)]

約7年 前 | 0

| 採用済み

回答済み
How can I change marker size and form based on diameter and ellipticity values over frame?
scatter() will let you change the marker size and color for each point whereas plot() is a marker for each line...of course, cal...

約7年 前 | 0

| 採用済み

回答済み
[Solved] Fitting exponential decay function
You forced the model to have f(0) = 0.148356 + 0.1291 = 0.2775. It takes a really large decay constant to make up for that. T...

約7年 前 | 1

回答済み
Using readtable to load excel files in a different folder
folder_in='Formatted_Excel'; % directory of interest d=dir(fullfile(folder_in,'*.xls*'); ...

約7年 前 | 0

| 採用済み

回答済み
Assigne Values/Attribute to elements of an array
>> V = categorical(v,v,cellstr(['A':'E'].')) V = 1×5 categorical array A B C D E >> ADDENDUM:...

約7年 前 | 0

| 採用済み

回答済み
Floating point error incrementing in while loop
https://www.mathworks.com/matlabcentral/answers/57444-faq-why-is-0-3-0-2-0-1-not-equal-to-zero

約7年 前 | 1

| 採用済み

回答済み
How can I load (many!) points from file, and display them in 3D including color?
See doc scatter3 ML can read whatever datafile format you wish to use...for such large data a stream file would be obvious cho...

約7年 前 | 0

回答済み
Save files to folder loop won't save the .txt files
% location of data files data_path = 'C:\....\Desktop\Fat-L100T10-785'; % create search string to pick up all txt files in fol...

約7年 前 | 1

| 採用済み

回答済み
How to Combine Line and Bar Charts with multiple groups in the same figure?
Oh...didn't follow what were after...thought it was to create the image-like figure... The following will get you started -- h...

約7年 前 | 0

| 採用済み

回答済み
How do I scan in data that is flowing on each other horizontally, the values running into each other can't be recognized and separated correctly.
Use opts=detectImportOptions(readfile); to create a base import options object for fixed-width text and then fix up the Varia...

約7年 前 | 0

| 採用済み

回答済み
phase plot no giving the correct plot
Don't forget floating point precision... >> real(a) ans = 1.0e-15 * 0.0555 0.1665 0.0555 0.0185 -0.1295 ...

約7年 前 | 0

さらに読み込む