photo

Jan


Last seen: Today 2009 年からアクティブ

Followers: 20   Following: 0

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.

統計

All
MATLAB Answers

85 質問
15,244 回答

File Exchange

52 ファイル

Cody

0 問題
85 解答

Discussions

4 ハイライト

ランク
4
of 301,754

評判
41,571

コントリビューション
85 質問
15,244 回答

回答採用率
78.82%

獲得投票数
9,770

ランク
68 of 21,410

評判
13,290

平均評価
4.80

コントリビューション
52 ファイル

ダウンロード
123

ALL TIME ダウンロード
118817

ランク
8,865
of 176,414

コントリビューション
0 問題
85 解答

スコア
871

バッジ数
3

コントリビューション
0 投稿

コントリビューション
0 パブリック チャネル

平均評価

コントリビューション
4 ハイライト

平均いいねの数
7

  • Most Accepted 2022
  • Most Accepted 2021
  • Promoter
  • Commenter
  • Explorer
  • Personal Best Downloads Level 4
  • Editor's Pick
  • First Review
  • 5-Star Galaxy Level 5
  • First Submission
  • Grand Master
  • Revival Level 4

バッジを表示

Feeds

回答済み
error from Interpolation of the attached data
This seems to be a job for https://www.mathworks.com/matlabcentral/fileexchange/16098-uniquify . Then: load('data.mat'); figu...

6日 前 | 0

回答済み
FIND THE INVERSE MATRIX OF A
Only 1 c) has a relation to Matlab. You can solve this by: inv([1, -1, 5; 3, 9, 7; -2, 1, 0]) The verification in 2 b) is pe...

6日 前 | 0

回答済み
Count number of true statements in a sequence until false, then check for the next true and repeat
If this is time-critical, see: https://www.mathworks.com/matlabcentral/fileexchange/41813-runlength x = logical([0,0,0,0,0,0,1,...

11日 前 | 0

回答済み
check if a file exists
Starting in R2017b, you can use the "isfile" function to check if a file exists. For example: if isfile(filename) % File ex...

15日 前 | 64

| 採用済み

回答済み
Why does backslash behave differently when transposition is used in-line?
The already given answers explain the effect alreayd. A summary: Why does backslash behave differently when transposition is us...

約1ヶ月 前 | 1

質問


How to find a function in the path - securely?
What is a safe method to check, where a specific function exists in Matlab's path? It should not matter, if the function is an M...

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

2

回答

質問


Effects of adding folders in -FROZEN mode
When folders are added by addpath('-frozen'), the time stamps of the M-files are not checked. This should improve the speed, esp...

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

0

回答

送信済み


XSum
Fast Sum with error compensation

3ヶ月 前 | ダウンロード 2 件 |

4.5 / 5
Thumbnail

回答済み
Pleae i can solve this error broblem
Inside the code line 48 you find this part: a*s*h(a4+a1)*dt*dE % ^ here There is a missing operator after the variable h. ...

3ヶ月 前 | 1

回答済み
Loss of precision in wave equations
The sum is numerically instable. So your observation is expected. Beside the symbolic toolbox oder a toolbox for arbitrary pres...

3ヶ月 前 | 0

回答済み
Why does pcolor not display the full matrix?
c = [1, 2, 3; 4, 5, 6; 7, 8, 9]; x = [1, 2, 4]; y = [1, 3, 4]; H = pcolor(x, y, c); Fine. PCOLOR does exactly, what it is wa...

4ヶ月 前 | 0

回答済み
I want to smooth curve matlab
Exporting a diagram as EPS or PDF creates a vector image, which is sharp even if you magnify it. You might want to use a famous...

4ヶ月 前 | 0

回答済み
Cell conversion to double
To convert a cell array of character vectors to numbers, you can use the |str2double| function. This function is the simplest me...

1年以上 前 | 36

| 採用済み

質問


How to write ASCII to byte file?
In MATLB versions until R2021a I could write ASCII values stored in a CHAR array into a string as unsigned char by: data = char...

1年以上 前 | 3 件の回答 | 2

3

回答

送信済み


WinPower
Shutdown, sleep, hibernate etc. of Windows computers

2年以上 前 | ダウンロード 1 件 |

4.5 / 5

回答済み
Trying to ammend pathdef.m using the Set Path button on the Home bar.
If you want to modify the pathdef.m file for all users of the computer, start Matlab with admin or root privileges. Then overwri...

2年以上 前 | 0

回答済み
need a script to rename and resort TIF files
Folder = 'C:\Users\Desktop\New folder\'; Files = dir(fullfile(Folder, '*.tif')); Keys = {'A', 'B'}; [~, name] = filepart...

2年以上 前 | 0

| 採用済み

回答済み
How to inclusively extract rows of a large cell array between cells given start and end patterns?
Why do you want to avoid loops? Reading the file completely to apply vectorized methods requires 8 GB of contiguous free RAM for...

2年以上 前 | 1

回答済み
Find index of cells containing my string
Do you want to search for 'bla' within the text in each element of the cell array, or for elements that are 'bla' exactly? If yo...

3年弱 前 | 119

| 採用済み

回答済み
Can I generalize a folder lookup location so that data can be accessed in more than one way?
The core of the problem is a messed up storage of files in a bunch of folders. Collecting the files in one shared folder would b...

3年弱 前 | 0

回答済み
How do I close parallel button?
You can try: FEX: CmdWinTool CmdWinTool lean

3年弱 前 | 2

回答済み
How can I select two out of 6 points for every page without loops?
n = 2; X = randi(40, 6, 3, n) mask = all(X >= 0 & X <= 30, 2) Y = reshape(X(cat(2, mask, mask, mask)), [], 3)

3年弱 前 | 0

| 採用済み

回答済み
using feval or not?
I do not see problems with using feval. There have been a speed penalty in old versions, as far as I remember R2009a. But now t...

3年弱 前 | 0

| 採用済み

回答済み
save matrix command works sometimes and sometimes gives error
Avoid strcat to create a folder name, but use fullfile, which cares for the correct separators. A try/catch block is the way to...

3年弱 前 | 0

回答済み
Integration time step in ODE45 Matlab
The output time interval is the integration interval, so you can grab it e.g. in the outputfcn.

3年弱 前 | 0

回答済み
Warning: Single line Edit Controls can not have multi-line text
res is a numerical array. You cannot insert it as string in handles.edit5. Display an image in an axes as image object.

3年弱 前 | 0

回答済み
Why Euler's number e = 2.71828... is not a built-in constant in MATLAB?
What an epic discussion. Some levels less sophisticated: I needed exp(1) in a line of code called very frequently. exp() is an ...

3年弱 前 | 0

回答済み
How to produce 1 and -1 in MATLAB
Exactly 50% or randomly? x = randi([0, 1], 1, 2000) * 2 - 1; y = [ones(1, 1000), -ones(1, 1000)]; y = y(randperm(y));

3年弱 前 | 1

回答済み
Delete every nth element in array and increasing 1 NaN value per new row
Array = [1,2,3,4,5,6,7,8,9,10]; n = numel(Array); Out = nan(n - 2, n); for k = 2:n - 1 Out(k-1, 1:k:n) = Array(1:k...

3年弱 前 | 0

| 採用済み

回答済み
How should I recover.m file of the function in the toolbox?
You can ask a colleage for the original file. Of course with some tricks you can find a way to type the file here in the forum a...

3年弱 前 | 0

| 採用済み

さらに読み込む