Community Profile

photo

Russel Burgess


Last seen: 8 meses ago Active since 2021

Statistics

  • Knowledgeable Level 2
  • First Answer

View badges

Content Feed

View by

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

9 meses ago | 1

| accepted

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

9 meses ago | 1

| accepted

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

9 meses ago | 0

| accepted

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

9 meses ago | 1

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

9 meses ago | 0

| accepted

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

9 meses ago | 0

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

9 meses ago | 0

| accepted

Question


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

9 meses ago | 1 answer | 2

1

answer