Community Profile

# Russel Burgess

Last seen: meer dan een jaar ago Active since 2021

#### Content Feed

View by

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

meer dan een jaar ago | 1

| accepted

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

meer dan een jaar ago | 1

| accepted

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

meer dan een jaar ago | 0

| accepted

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

meer dan een jaar ago | 1

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

meer dan een jaar ago | 0

| accepted

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

meer dan een jaar ago | 0

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

meer dan een jaar 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...

meer dan een jaar ago | 1 answer | 2