
L'O.G.
Statistics
101 Fragen
0 Antworten
RANG
34.367
of 275.824
REPUTATION
1
BEITRÄGE
101 Fragen
0 Antworten
ANTWORTZUSTIMMUNG
81.19%
ERHALTENE STIMMEN
1
RANG
of 18.575
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANG
of 125.615
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
Content Feed
Frage
How do you set entries in a matrix for odd rows with odd columns to zero?
I want to set A(i,j) = 0 if both i and j are odd. Is this possible to do vectorially?
etwa ein Monat vor | 1 Antwort | 0
1
AntwortFrage
How do you make the diagonal and certain off-diagonal elements of a matrix zero?
I have a square matrix and would like to make the diagonal elements zero, as well as select elements that are off-diagonal. For ...
etwa ein Monat vor | 2 Antworten | 0
2
AntwortenFrage
x values when taking a numerical derivative
I want to calculate the first derivative f(x) = dy/dx for data that is irregularly spaced in x. I think (correct me if I'm wrong...
etwa 2 Monate vor | 5 Antworten | 0
5
AntwortenFrage
Changing the position of a plot
How do you move everything in a figure (plot, axes, axis labels) up while preserving the aspect ratio of the plot? It seems I ca...
2 Monate vor | 1 Antwort | 0
1
AntwortFrage
How can you shift the position of x axis labels?
I can generate a scatter plot with the x axis labels of type categorical or string. When I rotate them slightly, I would like th...
2 Monate vor | 1 Antwort | 1
1
AntwortFrage
How do I remove the tick marks on a bar plot at the top and the right?
I can do this by box off but that also removes the lines. How can I keep the lines on the top and the right of the plot, but jus...
2 Monate vor | 1 Antwort | 0
1
AntwortFrage
Centering labels in a bar plot
How do I center a string under each bar at in a bar plot? Something like the following is the best I can do, but it's a lot of t...
2 Monate vor | 1 Antwort | 0
1
AntwortFrage
How to sample from a distribution?
How do you use randsample (or maybe something else?) to sample from a distribution? Can you define a non-standard distribution a...
2 Monate vor | 1 Antwort | 0
1
AntwortFrage
Log-log plot with error band that has negative numbers
How do I make an error band? I am attaching some sample data. The fill function generates negative numbers, so that when I try e...
2 Monate vor | 1 Antwort | 0
1
AntwortFrage
How to add error bars as a region about the data?
I have a plot with a lot of data points plotted using the loglog function. How do I add error bars as a light-shaded zone around...
2 Monate vor | 1 Antwort | 0
1
AntwortFrage
How to add headers to an array and output to a text file?
I have an array of numbers of type double. Each row is of length 3xN where N is some fixed number. I want to reshape each row as...
2 Monate vor | 1 Antwort | 0
1
AntwortFrage
How do you plot elements of a cell array?
Given a cell array where each element contains a vector of numbers of type double, I select a few elements to analyze. They are ...
2 Monate vor | 1 Antwort | 0
1
AntwortFrage
Double integral over an anonymous function
I am trying to do the following double integral: where I attempt this by q = 0.01:0.01:50; % range is somew...
3 Monate vor | 1 Antwort | 0
1
AntwortFrage
Doing a nested numerical integral in Matlab
How do I do the following nested integral in Matlab? The goal is to evaluate the following: where the function is defined as...
3 Monate vor | 1 Antwort | 0
1
AntwortFrage
How do you do a sine transform in Matlab?
The sine transform is defined as How do you do a sine transform and its inverse? The functions dst and idst are not recomme...
3 Monate vor | 3 Antworten | 0
3
AntwortenFrage
How to determine and adjust the x axis after taking the 1D FFT?
I am trying to take an FFT, but have trouble figuring out the x axis. The time vector is of length N = 100000. The vector has un...
3 Monate vor | 2 Antworten | 0
2
AntwortenFrage
Sorting a string according to the values of a vector of type double
I have a vector A with numbers of type double. Two of the values of A are the same, e.g., A = [1.1 2.3 4.4 2.3 5.1]; I als...
4 Monate vor | 2 Antworten | 0
2
AntwortenFrage
Finding a value of one vector based on the nonzero values of another vector
Given two vectors, how do you determine the value of A where B is 1? In this case, A=[5 4]. How do I do this? A = [2 5 1 4]; ...
4 Monate vor | 3 Antworten | 0
3
AntwortenFrage
Ordering vectors of numbers of type double and strings according to another vector
How do I order the following arrays? vector_1 = [1 3 7 8 9 10]; string_1 = {'apples' 'pears' 'plums' 'oranges' 'peaches' 'gr...
4 Monate vor | 2 Antworten | 0
2
AntwortenFrage
Printing special characters in an axis label
How do you print special character(s) using sprintf? I want to use this or similar to add special characters to an axis label as...
4 Monate vor | 1 Antwort | 0
1
AntwortFrage
Modify axis label for each plot within loop
I am generating plots for a series of values using a for loop and wish to output the value in the axis label. How do I do that? ...
4 Monate vor | 1 Antwort | 0
1
AntwortFrage
Working with a cell of strings
I have a large N x 1 array of cells, each cell containing a string. How do I convert this to a string array, or to a cell array ...
4 Monate vor | 1 Antwort | 0
1
AntwortFrage
Rounding a decimal down
With round(x,2) I can round a number to the nearest hundredth, but how do I round down to the nearest hundredth? For example, bo...
4 Monate vor | 3 Antworten | 0
3
AntwortenFrage
Padding a cell array?
How do you pad every other element of a cell array with a blank value thereby doubling the length of the cell?
4 Monate vor | 1 Antwort | 0
1
AntwortFrage
Error bars with categorical data type
I am trying to plot error bars in y for data that are categorial type in x. I get an error message saying Error argument 'err...
4 Monate vor | 1 Antwort | 0
1
AntwortFrage
Finding min and max values in a structure
For a 1x1 structure with multiple fields, each field consisting of a cell of numbers, how can you find the minimum and maximum v...
4 Monate vor | 3 Antworten | 0
3
AntwortenFrage
Rounding down when doing division in Matlab
How do you round when dividing such that 1/7 = 1 2/7 = 1 ... 7/7 = 1 8/7 = 2 ... 14/7 = 2 15/7 = 3 etc.
4 Monate vor | 1 Antwort | 0
1
AntwortFrage
Differences in power law fit vs. linear fit on log-log scale
I am fitting data using cftool to a power law, i.e. , and comparing it to the 1st-order polynomial fit, i.e. when I take the ba...
4 Monate vor | 2 Antworten | 0
2
AntwortenFrage
Analyzing different sections of an array
How do you analyze the first 10 columns of an array (all rows) and columns 11-20, 21-30, and so on, separately?
4 Monate vor | 1 Antwort | 0
1
AntwortFrage
Reshaping a cell array
I have a cell of cells, where each internal cell is a vector of numbers of type double. How can I reshape this in a less cumbers...
4 Monate vor | 1 Antwort | 0