Question

Find maximum in matrix and show

Hello guys, I would have a question - If I have a matrix of numbers for example 50x50 (rows, columns) and matrix changes value...

4 dagen ago | 1 answer | 0

Question

Do something only, when variable is same for 2 second

Hello guys, how can I write a code (cycle) something like "when value is same for 2 second, do something else"? Example below, ...

ongeveer 2 maanden ago | 0 answers | 0

Question

interp2 ... How does it work?

Hello guys, I'm looking to find a mathematical basis for explaining the interpolation methods for "linear", "cubic", "nearest"...

ongeveer 2 maanden ago | 0 answers | 0

Question

Editing a Colormap in MATLAB

Hello guys, I have seen video about edit a colormap https://www.mathworks.com/videos/interactively-editing-a-colormap-in-matla...

2 maanden ago | 1 answer | 0

Question

Animation graph with the slider

Hello guys, I have question, how can I animate this graph with slider? I just want to shift green point from the start to the ...

2 maanden ago | 0 answers | 0

Question

Imagesc change "background" color

Hello guys, I have a simple question, how can I set "background" color to white? Or how can I set a color of points with a spe...

3 maanden ago | 1 answer | 0

Question

Rotation of the circle (points)

Hello guys, I have a question, how can I rotate all points to new position (in yellow circle) - I just want rotate a circle. A...

3 maanden ago | 1 answer | 0

Question

Adding picture to imagesc

Hello guys, what is the best way to (or is it possible?) add a picture to imagesc? I have colour map in the top and the pictur...

3 maanden ago | 2 answers | 0

Question

Center of two points (positive and nenegative values)

Hello guys, could anyone explain to me how to calculate the center of gravity for negative values? This code work only for pos...

3 maanden ago | 1 answer | 0

Question

Center of gravity between 2 points

Hello guys, do you know about simple way how to calculate position of center of gravity between two points? For example first ...

3 maanden ago | 1 answer | 0

Question

Circle interpolation - compute values inside

Hello gyus, What is the best interpolation method for compute values inside circle? Is there a function that sums the circumfe...

3 maanden ago | 0 answers | 0

Question

Circle interpolation (calculate the values inside)

Good evening, I have a few more theoretical questions. Do you have any tips on how to calculate values inside a circle? I have ...

3 maanden ago | 1 answer | 0

Question

Vector to Circle in Matrix

Hello guys, I am trying to fill the matrix (zeros) of values of vector into a circle shape. A = zeros(50) This is sketch of m...

3 maanden ago | 1 answer | 0

Question

Values of vectors in matrix (changes in time)

Hello guys, how may I do this.. I have 4 vectors (signals in time) t =0:pi/20:4*pi; x1 = cos(t); x2 = cos(2*t); x3 = cos(3...

3 maanden ago | 3 answers | 0

Question

2D matrix to 3D cylinder

Hello, could anyone advise me how to make a cylinder from 2D matrix of a number of rows and columns eg x = rand(5,10). And then...

4 maanden ago | 1 answer | 0