Community Profile

photo

Jan


Last seen: Today
12,588 2009 年以降の合計貢献数

It is easier to solve a problem than to guess, what the problem is.

Questions about FileExchange submissions are welcome - get my address from the code. I do not answer mails concerning questions in the forum.

Jan's バッジ

  • Personal Best Downloads Level 4
  • Editor's Pick
  • First Review
  • 5-Star Galaxy Level 5
  • First Submission
  • Grand Master
  • Revival Level 4
  • 36 Month Streak
  • Thankful Level 4
  • Knowledgeable Level 4
  • First Answer
  • Promoter
  • Commenter
  • Solver

詳細を表示...

貢献した分野
表示方法

回答済み
command window no output
Check if you have shadowed the display function: w = cellstring(which('display', '-all')); fprintf('%s\n', w{:}) What do you ...

2日 前 | 0

回答済み
Find string in the special file
S = fileread('R2_AS - Copy.txt'); i1 = [strfind(S, 'Szenario'), Inf]; i2 = strfind(S, 'has been created.'); width = numel(...

17日 前 | 0

回答済み
Namelengthmax value in different operating systems
The value of namelengthmax depends on the Matlab version only. It is the same for all operating systems. Identifiers can have ...

17日 前 | 0

回答済み
Syntax Error using Fcn Block
You need round parentheses for indexing, not square brackets: (1/Mus)*(Ks*(u[3]-u[4])+Ct*(u([7]-u[2])+Kt*(u[6]-u[4])-u[5]) % =...

17日 前 | 0

| 採用済み

回答済み
how to compute the number of image from subfolder ?
fullfile(('.\databasee\')) is exactly the same as its input: '.\databasee\'. The unnecessary parentheses are confusing only. To...

17日 前 | 1

| 採用済み

回答済み
Different machine precision for scalars and vectors?
The only difference is the display in the command window. Matlab tries to display vectors in an abbreviated format, execpt if yo...

24日 前 | 1

| 採用済み

回答済み
Strange behavior of the editor in the forum
1.5 years later. I tried it again. I still cannot set a flag, delete an answer or insert an image or link. Whenever I try it, t...

25日 前 | 2

回答済み
Combining 2 codes to make a number counter with user input
function v = Sample() Loop = true; Count = 0; v = []; while Loop a = input('Please input a number: '); if a >= ...

30日 前 | 0

回答済み
regarding 'FOR LOOP' use to plot discrete impulse response
The question is not clear yet. Do you mean: delay = repmat(1, 1, 500); amplitiudes = repmat(0.1, 1, 500); % Alternati...

30日 前 | 0

回答済み
How can write loop for this algorithm?
I'm not sure, because the question is not completely clear to me. Perhaps: A = [1 1 2 2 3 3 3 4 4 8 9 10]; d = diff(A); v = f...

30日 前 | 0

回答済み
counting number of textbox or patches in a matlab figure
% All text boxes: List1 = findall(HandleOfFigure, 'Type', 'uicontrol', 'Style', 'text') Count1 = numel(List1) % All patche...

30日 前 | 0

回答済み
mlock not working, variables getting cleared in function switch.
Create this file: function demo(In) persistent v switch lower(In) case 'lock' mlock disp('locked'...

30日 前 | 0

回答済み
nested k for loops for a parameter k
Start with simplyfying your code: Replace the 2 innermost loops: s = 0; for u1=1:2 for u2=1:2 s = s + t1(u1,v1,w1)*...

約1ヶ月 前 | 1

| 採用済み

回答済み
Adding Two Arrays Alternatively to make Third Array
% Arbitrary test data: ForceX = rand(64, 1) + 1i * rand(64, 1); ForceY = rand(64, 1) + 1i * rand(64, 1); % Methode 1: Forc...

約1ヶ月 前 | 0

回答済み
how to string scalar or character vector a text
You need Matlab R2018b to define stringe with double quotes. The screen shot looks like R2018a. Then use single quotes to create...

約1ヶ月 前 | 0

回答済み
why elseif (i==1) && j==m condition went unexecuted?
The condition "i==1 && j==m" appears twice: if i==1 && j==m % First time A(1,1)=1; elseif (i==...

約1ヶ月 前 | 0

| 採用済み

回答済み
What font do you code in?
Andale Mono and Bitstream Vera Sans Mono.

約1ヶ月 前 | 1

回答済み
Why Matlab does not read the input value?
This piece of code is called repeatedly. This shown code seems to be fine, so the behavior is caused the code, which calls this ...

約1ヶ月 前 | 0

回答済み
uiopen vs audioread, is there an advantage to one over the other for .wav files?
The function uiopen and audioread have two different jobs. While the first opens Matlab files with the apropriate application, t...

約2ヶ月 前 | 0

回答済み
Can't run an external program with arguments
Under Windows the folders in the PATH a separated by semicolons, not colons. Do you mean: cmdStr3 = 'set path=%path%C:\Program ...

約2ヶ月 前 | 0

回答済み
Slow SizeChangedFcn or ResizeFcn
The first version was not sufficient in all cases. In addition it is required to prevent a repeated entering of the code: funct...

約2ヶ月 前 | 0

回答済み
Slow SizeChangedFcn or ResizeFcn
One solution is to ignore the built-in resize methods and use a specific WindowsButtonDownFcn to emulate a resizing. But reinven...

約2ヶ月 前 | 0

回答済み
Is it possible to programmatically check whether MATLAB has been started with the "-nodisplay" option?
See also: https://www.mathworks.com/matlabcentral/answers/407059-if-matlab-desktop-elseif-matlab-nodesktop : usejava('desktop')...

約2ヶ月 前 | 1

質問


Slow SizeChangedFcn or ResizeFcn
When a SizeChangedFcn or ResizeFcn takes some time, the figure size can be changed, until the display is updated. Example: func...

約2ヶ月 前 | 2 件の回答 | 0

2

回答

回答済み
Vector between vectors in intervals
Remark: The inputs vectors are not normalized and only almost orthogonal: format long g v1 = [-0.0345; 0.9984; -0.0447] v2 ...

10ヶ月 前 | 0

回答済み
Can anyone help me with the "Axis rotation sequence for the Euler angles"
The rotation matrix for the Euler angles in the order XYX is: s1 = sin(alpha); c1 = cos(alpha); s2 = sin(beta); c2 = cos(bet...

10ヶ月 前 | 1

回答済み
Matlab has encountered an internal problem and needs to close.
The message teels you: If this problem is reproducible, please submit a Service Request via: http://www.mathworks.com/...

10ヶ月 前 | 0

回答済み
Use the time step within ode15s
If the function to be integrated requires the time steps of the solver, something went wrong. I'm convinced that this is a logic...

10ヶ月 前 | 0

| 採用済み

回答済み
Keep getting error message on my ODE function
u0 = [P0, zeros(1, N + 1)];

10ヶ月 前 | 0

| 採用済み

回答済み
Eulers method for system of linear equations
h = 0,1; % ^ you mean 0.1 with a dot There is no need to create the accleration as array. Reply a scalar instead: funct...

10ヶ月 前 | 0

Load more