Statistik
29 Fragen
0 Antworten
RANG
31.886
of 295.527
REPUTATION
1
BEITRÄGE
29 Fragen
0 Antworten
ANTWORTZUSTIMMUNG
55.17%
ERHALTENE STIMMEN
1
RANG
of 20.242
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANG
of 154.057
BEITRÄGE
0 Probleme
0 Lösungen
PUNKTESTAND
0
ANZAHL DER ABZEICHEN
0
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
0 Highlights
DURCHSCHNITTLICHE ANZAHL DER LIKES
Feeds
Frage
Add function argument validation for optional parameters based on the values of required parameters
I have a function signature like this: function MyFunc(a, b, options) %% Function argument validation arguments %% @Re...
fast 3 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Return index of cell in a cell array for which contains a desired element
I have a cell array: C = {[1,2,4], [3,5], [8,9]} I would like to have a function, such that: somefunc(C, 2) % will return 1, ...
fast 3 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Is the calculation of the median including outliers?
In MATLAB's box plot, is the calculation of the median including outliers? or just including only data between upper whiskers an...
fast 3 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to get rid of annoying extra white spaces on the margins when exporting surface plots to pdf?
How to get rid of annoying extra white spaces on the margins when exporting surface plots to pdf, in spite of the use of exportg...
fast 3 Jahre vor | 1 Antwort | 1
1
AntwortFrage
Center alignment for tiledlayout
Is it possible to align all the tiles in the tiledlayout to the center, such as the attached figure?
fast 3 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Animated GIF contains offset in consecutive timestamps
I have an animated GIF that contains offsets from timestamp to timestamp, which is not desired. The relevant code snippet is as...
fast 3 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to fit an uniform distribution to a histogram?
I have a set of data that is generated from an uniform distribution. Now I want to fit the corresponding histogram to an uniform...
fast 3 Jahre vor | 3 Antworten | 0
3
AntwortenFrage
Resolve problem of overlapping title and yticks
I have a plot as the attached. As you could probably tell, the title and yticks (10^5) overlapped. Is there any solution like mo...
fast 3 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to distribute elements of a vector to each of output variable?
x = [1,2,3,4,5] [a,b,c,d,e] = deal(x(1:5)) How do I write code such that a=1, b=2, c=3, d=4, e=5?
fast 3 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to determine the figure window on which subplots are created?
I have two figure windows, say, f1 = figure(1) and f2 = figure(2). For f1, it's only plotted once at the beginning and I want to...
fast 3 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to show node/element numbers on the boundary ONLY?
I have a function plotting the FE mesh with node numbers and element numbers displayed. An example with (meshx,meshy) = (30,15) ...
fast 3 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to keep positions of node/element number labels consistent with various FE mesh resolution?
I have a function plotting the FE mesh with node numbers and element numbers displayed. For (meshx,meshy) = (30,15), the positio...
fast 3 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Call a certain function at the last iteration if flag is set to true
I have a logic as following: plot_final_iteration_only = true; for iter = 1 : max_iter % Do stuff... if (plot_final_...
fast 3 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Simplify this code snippet
Can someone advise me how to simplify this 10 lines of code into a beautiful and elegamt one single line of code, if possible? ...
etwa 3 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Indexing a vector in a particular fashion
I have a vector: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] I want to index this vector in the following order: [9, 10, 7, 8, 5, 6, 3, 4,...
etwa 3 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Am I creating dynamic variable names?
Recently I came across a popular thread in MATLAB Answers: https://www.mathworks.com/matlabcentral/answers/304528-tutorial-why-v...
etwa 3 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to get rid of certain xticklabels?
I have a plot that use log2 for x-axis. Now I want to get rid of xticklabels such as 1.41421, 2.82843, etc., and add 28 to the x...
etwa 3 Jahre vor | 2 Antworten | 0
2
AntwortenFrage
Reshape a row vector and convert it to a cell array
I have a row vector as the following: x = [1:10, 101:110, 11:20, 111:120] Now I want to convert it to a 2-by-2 cell array C, w...
etwa 3 Jahre vor | 2 Antworten | 0
2
AntwortenFrage
Set XTick of yyaxis to have integer ticks only
I have a plot with double y axes using yyaxis. I want to set XTick to have only integer values, e.g., 1, 2, 3, 4, 5, 6, instead ...
etwa 3 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to generate unaligned subplots using tiledlayout?
I plan to generate a plot that has 3 subplots on the first row, 4 subplots on the second row using tiledlayout. As 4 is not a mu...
etwa 3 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to prevent axis off from removing the subtitle?
How to prevent axis off from removing the subtitle? Nemely, I just want to remove the x, y axes but not the subtitle itself. im...
etwa 3 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to increase the efficiency of this MATLAB program by using vectorization techniques
I have a MATLAB code snippet as below. For now I have tried two versions of implementation to apply a function standard_deviatio...
etwa 3 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to have grayscale and rainbow color plots in subplots?
I have a MATLAB code snippet that uses subplot to generate some plots in the same figure. However, I want to make surf plots in ...
etwa 3 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Label the actual data points in y-axis
I have a plot with two plotting by using yyaxis. The grid on the right yyaxis is currently aligned with the left yyaxis accordin...
etwa 3 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Plot date labels in x-axis
I have a plot with dates in form of mm/dd as x-axis data. Now I have xData = ["01/22" "01/23" "01/24" "01/25" "01/2...
etwa 3 Jahre vor | 2 Antworten | 0
2
AntwortenFrage
Find maximum clique with recursive function
I am solving an problem which has been stated and discussed here: maximum clique problem solve As the OP showed in the above th...
mehr als 3 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Wrong result given by matrix multiplication
I was doing a matrix multiplication with 3 matrices: BT * C * B BT = [-1 0 3; 0 -3 -1; 4 0 -2; 0 -2 4; 1 0 3; 0 3 1; -4 0 2; 0 ...
mehr als 3 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to add a string array on a chart?
I would like to add 3 lines of text stored in a cell array to my chart, but failed to display it onto the chart. MATLAB complai...
mehr als 4 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to print symbolic representation of [4^1+1 4^2+1 4^3+1] rather than the actual numerical output?
I would like to add a line of texts like "points = 4^1+1 4^2+1 4^3+1" instead of "points = 5 17 65" to chart. The current con...
mehr als 4 Jahre vor | 1 Antwort | 0