photo

Jonathan


Last seen: 7 months 前 自 2011 起处于活动状态

Followers: 0   Following: 0

消息

统计学

All
  • Solver
  • Knowledgeable Level 1
  • First Answer

查看徽章

Feeds

排序方式:

提问


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 前 | 2 个回答 | 3

2

个回答

已回答
pcolor
hand = pcolor(hadamard(20)) set(hand, 'linestyle', 'none')

13 years 前 | 2

已回答
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 前 | 0

已回答
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 前 | 0

已回答
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 前 | 8

| 已接受

已回答
Matlab hermite interpolation
Try 'edit pchip'.

13 years 前 | 0

已回答
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 前 | 0

已回答
Plot axis limits
You can set the axis limits using ylim([290 420]) or xlim([290 420]).

13 years 前 | 0

已回答
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 前 | 0