Statistics
All
RANK
2,320
of 297,503
REPUTATION
27
CONTRIBUTIONS
1 Question
8 Answers
ANSWER ACCEPTANCE
0.0%
VOTES RECEIVED
13
RANK
of 20,449
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
Unwanted editor behavior: whitespace only lines trimmed
I'm using MATLAB 2023a. Sometimes, when I have a line in an m-file with only whitespace then whitespace characters are removed f...
1 year ago | 2 answers | 3
2
answersAnswered
Functions with multiple variables
Ben, Here is a neat way of solving your problem. There are certainly more efficient methods. This was the least amount of c...
Functions with multiple variables
Ben, Here is a neat way of solving your problem. There are certainly more efficient methods. This was the least amount of c...
13 years ago | 0
Answered
Keep a variable in workspace when calling a function
The code below uses a persistent variable. The first time the function is run, the variable is given the value [] (the empty ma...
Keep a variable in workspace when calling a function
The code below uses a persistent variable. The first time the function is run, the variable is given the value [] (the empty ma...
13 years ago | 0
Answered
How to use colormap for different bars.
See if this helps. y = [4.2; 4.6; 5]; %The data. s = [.3; .2; .6]; %The standard devi...
How to use colormap for different bars.
See if this helps. y = [4.2; 4.6; 5]; %The data. s = [.3; .2; .6]; %The standard devi...
13 years ago | 8
| accepted
Answered
Sphere into equal parts
If there are no restrictions on how to divide the sphere, then you can slice it like an orange.
Sphere into equal parts
If there are no restrictions on how to divide the sphere, then you can slice it like an orange.
13 years ago | 0
Answered
Plot axis limits
You can set the axis limits using ylim([290 420]) or xlim([290 420]).
Plot axis limits
You can set the axis limits using ylim([290 420]) or xlim([290 420]).
13 years ago | 0
Answered
all possible permutations
You can use this method. It does not use cell arrays, which are conceptually convenient but rather inefficient. A = nchoosek...
all possible permutations
You can use this method. It does not use cell arrays, which are conceptually convenient but rather inefficient. A = nchoosek...
13 years ago | 0