photo

Russel Burgess


Last seen: oltre 3 anni fa Attivo dal 2021

Followers: 0   Following: 0

Statistica

  • Knowledgeable Level 2
  • First Answer

Visualizza badge

Feeds

Visto da

Risposto
How to plot a swarm chart with no specific x-values?
Following on from the comments: y = randn(1e3,1); swarmchart(zeros(size(y)), y); Will produce the desired chart, in R2020b. ...

oltre 3 anni fa | 2

| accettato

Risposto
How to create a sine wave with linear increasing amplitude transition
One way: t = linspace(0, 9, 10000); % s f = 10; % Hz A = 0.3.*(t<4) + (0.3 + (0.6 - 0.3)/0.3*(t-4)).*(t>=4 & t<4.3) + 0.6*(t>...

oltre 3 anni fa | 1

| accettato

Risposto
array indexing select element and change its place in the array.
I'm not sure this is the most correct way, but you can do this sort of thing with positional indexing, e.g.: A([2:end 1]) Will...

oltre 3 anni fa | 0

| accettato

Risposto
Rotation Matrix Function Issues
It seems you might be misunderstanding what "for axis = [1; 0; 0]" does. A for loop like: for axis = [1; 0; 0] disp(axis)...

oltre 3 anni fa | 1

Risposto
Level 5 .mat file with UTF-8 encoded character array fails to load on R2020b
I found the issue - it appears that matlab counts UTF-8 continuation bytes in the data element size but not in the array dimensi...

oltre 3 anni fa | 0

| accettato

Risposto
How to make filled contour plot
Assuming you have many values of A across time, you could do this by assembling them into a matrix to be fed into contourf(), th...

oltre 3 anni fa | 0

Risposto
how to insert inserted values in legend
One option is to use sprintf() to make a string, e.g.: legend(sprintf('alpha1 = %g, alpha2 = %g', alpha1, alpha2)); And so on....

oltre 3 anni fa | 0

| accettato

Domanda


Level 5 .mat file with UTF-8 encoded character array fails to load on R2020b
I'm having some trouble with .mat files that loaded in R2020a but no longer load in R2020b. This appears to be due to a UTF-8 e...

oltre 3 anni fa | 1 risposta | 2

1

risposta