Sim
Followers: 0 Following: 0
Statistics
RANK
1 961
of 289 738
REPUTATION
30
CONTRIBUTIONS
199 Questions
31 Answers
ANSWER ACCEPTANCE
89.95%
VOTES RECEIVED
17
RANK
18 933 of 19 580
REPUTATION
0
AVERAGE RATING
0.00
CONTRIBUTIONS
1 File
DOWNLOADS
1
ALL TIME DOWNLOADS
3
RANK
of 144 111
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
How to get a bar plot with unequal bin intervals?
How can I show the following bars (bar_heights) with unequal bin intervals (bin_edges)? bin_edges = [0 5; 5 20; ...
ungefär 2 månader ago | 1 answer | 0
1
answerQuestion
The legend option called interpreter latex does not display the latex symbols correctly
If I use Interpreter latex in the legend, the latex text is not correctly displayed plot(1:10,1:10,'DisplayName','\eta_i') lin...
ungefär 2 månader ago | 1 answer | 0
1
answerQuestion
Extract single-digit and double-digit numbers at the same time from a cell array with "regexp"
Hi, I am trying to extract the numbers from the following cell array: a={'1','3','6-10','11-20'}; If I use regexp, the number ...
2 månader ago | 1 answer | 0
1
answerQuestion
exportgraphics with ContentType vector does not work properly
I am trying to export a large figure as a PDF, through exportgraphics(h,'Figure.pdf','ContentType','vector') Matlab creates a ...
3 månader ago | 1 answer | 0
1
answerFiles read with "dir" have additional (nondesirable) characters
After the extremely useful comment of @Stephen23, I found a way to read my files: mypath = 'C:\Users\XXX\Desktop\...\'; files ...
3 månader ago | 0
Question
Files read with "dir" have additional (nondesirable) characters
Some csv files read by dir as '._20190217.csv' instead of '20190217.csv' ? How to remove dot and underscore in the names ...
3 månader ago | 2 answers | 0
2
answersQuestion
An automatic way to change \ with / (windows vs. unix) only for "addpath"?
Is there an automatic way to change \ with / (windows vs. unix) only for "addpath" As example, I would need to convert many add...
3 månader ago | 3 answers | 0
3
answersQuestion
Error when writing file names into a txt file ("nonscalar strings are unsupported")
I have a number of pictures in a folder and I would like to simply get their file names and write them into a txt file: % input...
3 månader ago | 1 answer | 0
1
answerQuestion
How can I create randomly scattered points between two circles?
How can I create randomly scattered points between two circles? I would like to have 3 inputs (assuming that the two circles ar...
4 månader ago | 3 answers | 1
3
answersQuestion
annotation with both "doublearrow" and "textblock", with same data units
I am employing the solution proposed by @Jorg Woehl in "Specify annotation position with respect to x- and y-axes values?" to us...
4 månader ago | 4 answers | 0
4
answersQuestion
Pass the text of fprintf to the plot's text
Would it be possible to pass the text of fprintf to the plot's text? x = rand(1,10); plot(x) m = mean(x); sd = std(x); a = ...
4 månader ago | 1 answer | 0
1
answerUnexpected interquartile range (IQR) result
my bad.. this is the solution: dataIQR = data( data > q(1) & data < q(3) ); and the vertical lines related to the quartiles n...
4 månader ago | 0
Question
Unexpected interquartile range (IQR) result
For a number of distributions I would like to compare and show the interquartile range (IQR) and the standard deviation (STD). ...
4 månader ago | 1 answer | 0
1
answerQuestion
An easy way to add the mean to boxplotGroup of Adam Danz?
Is there an easy and straightforward way to add the mean to the boxplotGroup of @Adam Danz?
4 månader ago | 1 answer | 0
1
answerQuestion
Mean of a cell array with different cell sizes?
Mean of a cell array with different cell sizes? % This works: a = {[1 3 4 5];[7 7 8 2];[5 4 1 9]} mean(cell2mat(a),2) % but ...
5 månader ago | 1 answer | 0
1
answerQuestion
A compact way to reduce, or remove, the fractional part (separated by a decimal point) of numbers in a table
Given a table, could you please suggest a compact way to reduce, or remove, the fractional part (separated by a decimal point) o...
5 månader ago | 1 answer | 0
1
answerQuestion
How to center the bars of the histogram over the elements of the input array?
How to center the bars of the histogram at the elements of the input array? I mean, in the following example I would like that ...
5 månader ago | 2 answers | 0
2
answersQuestion
What is the mechanism or math behind the function islocalmax(A)?
What is the mechanism or math behind the function islocalmax(A)? I just refer to the the basic islocalmax(A) function, without ...
5 månader ago | 2 answers | 0
2
answersQuestion
Why does exportgraphics not fully work, when using yyaxis?
Why does exportgraphics not fully work, when using yyaxis? This is my minimum working example: clear all;clc;close all; % ...
6 månader ago | 1 answer | 0
1
answerChange properties in gscatter, based on the group label
Thanks both @Dyuman Joshi and @dpb! By mixing the @dpb and the @Cris LaPierre answers (that one from @Cris LaPierre is in Chan...
6 månader ago | 0
Question
Change properties in gscatter, based on the group label
How to set some specific properties for a specific group (i.e. marker, markersize, one specific color), let's say for group labe...
6 månader ago | 3 answers | 0
3
answersQuestion
How to adjust the (absolute) width of bars to 1 unit in a bar plot?
How to adjust the (absolute) width of bars to 1 unit in a bar plot? In the following example, the bars are larger than 1 unit: ...
6 månader ago | 1 answer | 0
1
answerQuestion
How to display a few xticklabels from a set of selected xticks?
How to display a few xticklabels, like [4, 53] in the following example, from a set of selected xticks? selected_ticks = [2 3 4...
6 månader ago | 1 answer | 0
1
answerQuestion
How to change position of both ylabels in yyaxis left, within a subplot enrivonment?
How to change position of both ylabels in yyaxis left, within a subplot enrivonment? figure(); for i = [1 3 5] ax1 = sub...
6 månader ago | 1 answer | 0
1
answerQuestion
Change colors (of groups) in scatter plot
The following matrix contains around 80 rows, representing 2-dimensional points (each row corresponds to a point), and 3 columns...
6 månader ago | 2 answers | 0
2
answersQuestion
How to add pairs of graphs (generated through a function) to adjacent subplots?
How to add pairs of graphs (generated through a function) to adjacent subplots? The function "myfunction" produces two graphs, ...
6 månader ago | 1 answer | 1
1
answerQuestion
A compact way to replace zeros with Inf in a matrix
Would you be so nice to suggest me a more compact way to replace zeros with Inf in the following matrix? (maybe with just one li...
6 månader ago | 5 answers | 0
5
answersQuestion
Create a graph with several isolated nodes and a few links
Why I am not able to create a graph with several isolated nodes and a few links? s = [1 1 1]; t = [1 2 ...
6 månader ago | 1 answer | 0
1
answerQuestion
not correct output when using fprintf with multiple lines
Something is wrong here.. I need to associate the number of students to each class.. Any suggestion? fprintf('class %d: number ...
7 månader ago | 1 answer | 0
1
answerQuestion
The normalization of histcounts
I would like to get the probability density function (PDF) from an array of data A (contained in the attached "a.mat" file). If...
9 månader ago | 2 answers | 0