답변 있음
Save matrix as a spreadsheet image
Storing numeric data in images makes it difficult to work with those data later on but I remember a use-case for this back when ...

29일 전 | 0

| 수락됨

답변 있음
how to return cell array with varargout?
myCell = cell(1,3); [myCell{:}] = myfunc(__)

약 1달 전 | 0

| 수락됨

답변 있음
app will dispear when using uisetcolor as colorpicking function
uisetcolor is a modal dialog meaning it blocks interaction with other windows until the user closes it. After the dialog is clo...

약 1달 전 | 0

답변 있음
Get data from xls file.
> i need a comand to check the numbers in column A and anywhere that 6 change to 7 show me the entire rows for last 6 and where...

약 1달 전 | 0

답변 있음
how can i add the numers on the heatmap?
The cell values in heatmap appear when the figure is large enough to fit them in. Increase your figure size or decrease the den...

약 1달 전 | 0

답변 있음
meaning of exponential factor in MATLAB output
1.0e-112 is 100 septrigintillionths or or 0.0000.....1 where there are 111 zeros to the right of the decimal place. Multipl...

약 1달 전 | 1

| 수락됨

답변 있음
How to add numerical value in the stacked bar chart
Follow this example that uses XEndPoints and YEndPoints bar properties to compute the center of each stacked bar. The text show...

약 1달 전 | 0

| 수락됨

답변 있음
Problem with splitapply (bin averaging)
The grouping variable in splitapply is expected to be a vector of positive integers 1 to n and cannot contain a missing group va...

약 1달 전 | 0

| 수락됨

답변 있음
Finding weighted sum of multiple curves
The first step of applying a weighted sum is to define the weights so until you know that, you can't use that method. Instead,...

약 1달 전 | 0

| 수락됨

답변 있음
When I click an image, it doesn't enter its callback
See Callbacks in App Designer. Try this: image(dispImg, 'Parent', app.UIAxes, 'ButtonDownFcn', @(src,event)ImageClicked(app,sr...

약 1달 전 | 1

| 수락됨

답변 있음
Creating a polar bar chart or circumplex chart (not a histogram)
See polarhistogram. If you have data suitable for a bar plot and, therefore, you don't need to compute the bins and bar heights...

약 1달 전 | 2

| 수락됨

답변 있음
Take 102 Elements Equally Spaced of an Existing Array
> Is there a way to solve this issue? No. 991 is not divisible by 102. The following is a 102 vector starting with 1 and end...

약 1달 전 | 1

| 수락됨

답변 있음
Readtable don't work correctly if 'Range' > 'A250'
That doesn't sound good. If you manually grab the import options, that addresses the problem. opts = spreadsheetImportOptio...

약 1달 전 | 0

| 수락됨

답변 있음
how can I plot a graph over an image in Matlab?
Plot the image using image or imagesc or some other image function that allows you to specify the x and y values of the image. ...

약 1달 전 | 2

답변 있음
Accessing cell array contents
See cellfun In this example, the cell array is named myCellArray and the variable is named myVar. y = cellfun(@(A)A.myVar(en...

약 1달 전 | 2

답변 있음
Converting wind/wave data to hourly data by interpolation
If the durations are consecutive, then I suggest creating an time stamps based on the durations which allows you to use retime t...

약 1달 전 | 0

| 수락됨

답변 있음
How to plot correlation coefficient matrix plot?
Assuming you already have the correlation matrix, use heatmap. The upper triangle can be filled with NaNs. S = load('Data_Can...

약 1달 전 | 1

답변 있음
A green arrow in an m-file
You are in debug mode. The green arrows hows the line at which MATLAB is currently paused. how did I get here? There a...

약 1달 전 | 0

| 수락됨

답변 있음
+60k Lines on one plot - Too slow
Another idea is to plot your 60k lines as a 2D density plot (initially suggested in this thread). Pros: 1 graphics object, l...

약 2달 전 | 0

| 수락됨

답변 있음
How to convert fprintf from single row to multiple rows?
I assume you want to show each numeric value in a new line. To do that, add a new line control character where you want to inse...

약 2달 전 | 0

답변 있음
how I show all the numbers in y axes
> its important to me that all the numbers appears even these small changes Is your concern that readers will not believe that ...

약 2달 전 | 0

답변 있음
Sorting table row variables with number and letters
Use TableC = sortrows(TableB,'RowNames') This option also appears in the OP's 2017b documentation.

약 2달 전 | 1

| 수락됨

답변 있음
What does a(a<0) = 0 mean in matlab?
> What does a(a<0) = 0 mean? a can be a scalar or an array. This replaces all values in a that are less than 0 with 0. Ex...

약 2달 전 | 1

답변 있음
Box plot into figure with another graphs
MATLAB's boxplot and boxchart are designed to create box plots from the raw data. boxplot(Predictions_sorted) % or boxchar...

약 2달 전 | 0

| 수락됨

답변 있음
Standard deviation in 3D array from 1st to nth number array
To cumulatively compute the std across dimension 3, data = rand(6, 493, 6000); RN = zeros(size(data,[1,3])); for i = 1 : si...

약 2달 전 | 0

답변 있음
"Graphics timeout occurred"
Can you reproduce this issue? If so, sharing the steps that reproduce this would be helpful. Nevertheless, please report thi...

약 2달 전 | 0

| 수락됨

답변 있음
how to compare column values of a matrix with a column vector of different size?
Load data detected = [56 40 33 31 28 13 10 1]; M_transmision = [1 40 -84 -638 6...

약 2달 전 | 0

| 수락됨

답변 있음
Convert double to categorical array
The function categorical can convert continuous data into categorical data. However, this function cannot categorize two numbers...

약 2달 전 | 0

| 수락됨

답변 있음
'Value' must be double scalar within the range of 'Limits'
Your data contains a NaN value. data=readtable('tests1.csv','NumHeaderLines',9); col_vec=data{:,2}; n = sum(isnan(col_vec));...

약 2달 전 | 1

| 수락됨

답변 있음
Best way to analyze two waveform signals
Hello @Austin Bollinger, looks like @Jonas has made some good recommendations. I'll add another perspective. My grad school r...

약 2달 전 | 0

| 수락됨

더로드