Community Profile

photo

Viesturs Veckalns


Con actividad desde 2016

Followers: 0   Following: 0

Estadísticas

  • Thankful Level 3

Ver insignias

Feeds

Ver por

Pregunta


latex - use package
I want to set label text as c_f2_3D.Label.String = '\frac{a}{b} \text{[cm]}' I instruct to use the Latex interpreter ...

más de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Display colorbar label horizontally and specify its position
In this example figure; [x, y, z] = sphere; surf(x, y, z); c = colorbar; c.Label.String = 'Z'; <</matlabcen...

más de 6 años hace | 1 respuesta | 1

1

respuesta

Pregunta


Combining different mesh granularities
This code figure; [x, y, z] = sphere(20); surf(x, y, z, 'edgecolor', 'None'); hold on; surf(x, y, z, 'facecolor',...

más de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


histogram vector with deltaN specified
I have a vector x x = [1.7 2.2 1.7 3.0 2.2] also I have a deltaN associated with each value in x deltaN = [0.1 1.0...

más de 6 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Create an array of strings
I try to create an array of strings fruit = ['apple', 'cherry'] What modifications are needed so that fruit(2) is 'cherr...

más de 6 años hace | 2 respuestas | 0

2

respuestas

Pregunta


show axes of spherical coordinates
In this plot obtained from the code [x, y, z] = sphere; surf(x, y, z); xlabel('x'); ylabel('y'); zlabel('z'); <</m...

más de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


function that outputs a matrix with matrix elements referenced explicitly
I can write a function that outputs a matrix function f = func(arg) ... f = [res1, res2, res3] end I can store ...

más de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


sphere - increase granularity
Is there a way to increase the granularity of the grid produced by the sphere command?

más de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


flow control with functions of matrices
theta is a matrix [0:0.01:0.5]*pi I want to evaluate a function t using a flow control of values of theta: if theta>pi*(...

más de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


indexing entry of a matrix result
A is an MxN matrix. To get the number of columns of A I can do the following: s = size(A); ncol = s(2); How can I con...

más de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


concatenated matrix - factoring out a matrix coefficient
A, B and C are MxN matrices. I construct a matrix D in the following way: D = [A./C, B./C] It is inviting to bring out ...

más de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Where to format plot?
I have a script (Matlab R2015b) ... BLOCK1 ... for i = 0:100 ... figure(1) ax = gca; ...

más de 7 años hace | 1 respuesta | 0

1

respuesta