photo

Mr M.


Hungarian Academy of Science

Last seen: 3년 초과 전 2014년부터 활동

Followers: 0   Following: 0

메시지

통계학

  • First Review
  • Thankful Level 5
  • First Answer

배지 보기

Feeds

보기 기준

질문


How to fill end of rows of a matrix with NaN values?
I have a matrix M, and vector of indices K. I would like to make an element M(k,j) = NaN if j >= K(k). It is possible to do this...

3년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Why find cannot handle this very simple task?
X = -0.1:.001:.25; find(X == .077) I get the following: ans = 1×0 empty double row vector However X(178) = 0.077. How to ge...

3년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Why linsolve cannot solve this very simple equation?
A = [4,2,2; 5,1,3; 6,0,4]; B = [60; 70; 80]; X = linsolve(A,B) The solution should be 6, 7, 11, since: 4x6 + 2x7 + 2x11 = 60...

3년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Is it possible to determine within a function the location of that function?
Is it possible to determine the location (folder consisting that function) of a used function within the function? I dont want...

4년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to make raster circle with arbitrary high resolution?
Is it possible to plot a vectorized circle in MATLAB and save it to a pixelized raster figure with arbitrary high resolution? I...

거의 6년 전 | 답변 수: 1 | 0

1

답변

질문


How to plot a smooth color wheel?
How to plot a smooth color wheel, like this? https://color.adobe.com/create/color-wheel/

거의 6년 전 | 답변 수: 1 | 0

1

답변

질문


How to fit a line on the plane?
How to fit a line onto dots on the plane? polyfit is not the solution, because it is good for functions and not for points on th...

거의 6년 전 | 답변 수: 1 | 0

1

답변

질문


How to plot nice thick line segments?
My problem is that there is a little gap or ugly corners when I try to use thick line segments after each other, see the followi...

거의 6년 전 | 답변 수: 0 | 0

0

답변

질문


How to count first identical elements without a for cycle?
I have a vector [3 3 3 3 3 4 1 1 0 0 0 5 6 3 3 1 1 1], and I want to count threes at the begining of the vector, so the result h...

대략 6년 전 | 답변 수: 1 | 0

1

답변

질문


There is no solution for global optimum search in Optimization Toolbox?
I have to buy the Global Optimization Toolbox?

대략 6년 전 | 답변 수: 2 | 0

2

답변

질문


How to count repetition of a row in a matrix?
I have a matrix: M = [1,2; 2,3; 1,5; 2,3; 1,4; 1,6; 2;3, 8,9]; And I want to check number of occurance of a given row, for examp...

대략 6년 전 | 답변 수: 1 | 0

1

답변

질문


Is it possible, or is it used to, or is it elegant to change input variables?
Is it possible, or is it used to, or is it elegant to change input variables/parameters of a function inside the function?

대략 6년 전 | 답변 수: 3 | 0

3

답변

질문


Is it possible to set all data(n).x = []; without a for cycle?
Is it possible to do the following withot a for cycle? for n = 1:N, data(n).x = []; end

대략 6년 전 | 답변 수: 1 | 0

1

답변

질문


How to define an object witch has parameters and functions?
How to define an object witch has parameters and functions?

대략 6년 전 | 답변 수: 0 | 0

0

답변

질문


How to maximize a function if I have both integer and continuous variables?
How to maximize a function if I have both integer and continuous variables? What is the right syntax? I have to use constraints ...

대략 6년 전 | 답변 수: 2 | 0

2

답변

질문


Is it possible to print color text in the command window?
Is it possible to print color text in the command window?

대략 6년 전 | 답변 수: 1 | 2

1

답변

질문


Is it possible to write local function in a function?
Or this is possible only for scripts and not for functions?

대략 6년 전 | 답변 수: 1 | 0

1

답변

질문


How to eval an expression without an error?
I would like to eval an expression, for example eval('x=a+b;'); But in case of non-existing a or b, I dont want to get an error,...

대략 6년 전 | 답변 수: 2 | 0

2

답변

질문


How to copy a structure without a field?
I have p with field1, filed2, filed3 (p(1).field1, p(2).filed1, p(1).filed2, etc.). I want to make a copy: q = p, but copy only ...

대략 6년 전 | 답변 수: 1 | 0

1

답변

질문


Is it possible to collect length of filed values without a for cycle?
Is it possible to fill the size vector fithout a for cycle? for i = 1:length(params) size(i) = length(params(i)....

대략 6년 전 | 답변 수: 0 | 0

0

답변

질문


How to check the existance of a struct field at a given index?
p(1).name = 'name1'; p(1).value = 1:10; p(2).name = 'name2'; I want to check existance of p(2).value, but exist and empty is ...

대략 6년 전 | 답변 수: 1 | 0

1

답변

질문


How to find a string in the following cell structure?
I have s{1}.name = 'abc', s{2}.name = 'xyz', ..., s{n}.name = 'something'. And I would like to know the existance of a strin mys...

대략 6년 전 | 답변 수: 2 | 0

2

답변

질문


How to use scatter with transparent dots?
facealpha is not working for me

대략 6년 전 | 답변 수: 1 | 1

1

답변

질문


Is it possible to use yticks only on one side?
Is it possible to use yticks only on one side? How to set?

대략 6년 전 | 답변 수: 1 | 0

1

답변

질문


What is the simplest way to extract lengths of NaN sequences from a vector?
What is the simplest way to extract lengths of NaN sequences from a vector? Plus the indices of their locations!

대략 6년 전 | 답변 수: 2 | 0

2

답변

질문


How to decrease line space between multiple lines in a title, tex or xlabel?
I know how to hack if I want to increase, but how to decrease?

대략 6년 전 | 답변 수: 0 | 2

0

답변

질문


How to catch warnings?
I want to catch Warning: Matrix is close to singular or badly scaled, during a matrix division A/B.

대략 6년 전 | 답변 수: 2 | 3

2

답변

질문


How to create matrix of all combinations?
Suppose I have variables x1, x2, x3. x1 can be any element of the set {1,2,3}, x2 can be {1,2,3,4,5} and x3 can be {10,11,12,13,...

6년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Is it possible to use a function with 2 outputs and sometimes with 4 outputs?
And how to order the output variables? [x1,x2,x3,x4] = f(); or [x4,x3,x2,x1] = f();

6년 초과 전 | 답변 수: 1 | 0

1

답변

답변 있음
How can I reposition the colorbar to not overlap my x-axis label?
Error using matlab.graphics.illustration.ColorBar/set There is no activepositionproperty property on the ColorBar class. set...

6년 초과 전 | 5

더 보기