photo

Jonathan


Last seen: 10 meses hace Con actividad desde 2011

Followers: 0   Following: 0

Mensaje

Estadística

All
  • Solver
  • Knowledgeable Level 1
  • First Answer

Ver insignias

Feeds

Ver por

Pregunta


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...

más de 1 año hace | 2 respuestas | 3

2

respuestas

Respondida
pcolor
hand = pcolor(hadamard(20)) set(hand, 'linestyle', 'none')

más de 13 años hace | 2

Respondida
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...

más de 13 años hace | 0

Respondida
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...

más de 13 años hace | 0

Respondida
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...

más de 13 años hace | 8

| aceptada

Respondida
Matlab hermite interpolation
Try 'edit pchip'.

más de 13 años hace | 0

Respondida
Sphere into equal parts
If there are no restrictions on how to divide the sphere, then you can slice it like an orange.

más de 13 años hace | 0

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

más de 13 años hace | 0

Respondida
all possible permutations
You can use this method. It does not use cell arrays, which are conceptually convenient but rather inefficient. A = nchoosek...

más de 13 años hace | 0