Community Profile

photo

Jan


11,980 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 バッジ

  • Grand Master
  • Revival Level 4
  • 36 Month Streak
  • Thankful Level 4
  • Knowledgeable Level 4
  • First Answer
  • Promoter
  • Commenter
  • Solver

詳細を表示...

貢献した分野
表示方法

回答済み
How to use intersect command with a tolerance value?
While ismembertol might be useful, I'm still puzzled by the way it defines the tolerance. If the vectors are not too large (som...

1日 前 | 1

回答済み
Why the encryption doesn't work correctly? (SHA-256, HMAC-SHA-512)
Your call of DataHash creates the hash considering the class of the obejct. You want to get the hash for the values only. chall...

1日 前 | 0

回答済み
How to use only specific files in directory in GUI?
folder = uigetdir('Choose a folder'); List = dir(fullfile(folder, 'PU*.*')); FileName = fullfile(folder, {List.name}); ...

1日 前 | 0

回答済み
How can i increase the variabile name of each vector in for cycle? I want CM0_0, CM0_1, CM0_2...
Don't do this. Do not hide an index in the name of a variable. Use an array instead, e.g.: CM0{1}, CM0{2}, CM0{3} See this fam...

1日 前 | 2

| 採用済み

回答済み
Using index data to fill a matrix
This works with a loop easily: D = ExtractedData; % Easier to read... MaxRow = max(D(:, 1)); MaxCol = max(D(:, 2)); To...

1日 前 | 0

| 採用済み

回答済み
Regarding matrix similarity of image with rotation and scaling
I can recommend to search in the net at first, if you have a question. Then you will find e.g.: https://www.mathworks.com/help/...

1日 前 | 0

回答済み
Resizing pixels with independent scaling factor?
Let's start with a working loop: w = 8; im = repmat(uint8(255), w, w); im(2,2,:) = 0; im(6,6,:) = 0; row = [2;6]; col...

1日 前 | 0

回答済み
Deleting the row of a 3D matrix with a condition
Of course you cannot delete one row in a 3D array: The resulting array must have the same length for all subvectors. Removing a ...

2日 前 | 0

回答済み
Looping through 3rd dimension
Your loop has 19 iterations. It is not clear, why you expect that the output has a size of 30 or 540 in the 3rd dimension. [i:i...

3日 前 | 0

| 採用済み

回答済み
Out of memory during calculating covariance norm matrix
The wanted 128'541*128'541 matrix has 16'522'788'681 elements and it needs 132'182'309'448 Bytes of RAM: 132 GB. As a rule of th...

3日 前 | 1

| 採用済み

回答済み
Vectorization the Legendre Polynomial Without loop
Are you sure the the code is working? You calculate the vectors P(i, :) but use the first element only: P(i): P(i+1,:) = -(...

3日 前 | 0

| 採用済み

回答済み
How to import raster file to Matlab
What about https://www.mathworks.com/matlabcentral/fileexchange/24313-arcmap-raster-asc-to-xyz-file ?

3日 前 | 0

回答済み
Passing an image between GUIDE GUI's
Do not use global variables to share data. You find thousands of threads concerning Matlab or other programming languages, which...

3日 前 | 1

回答済み
Combining arrays of different row length
See: FileExchange: padcat With a simple loop: function A = CatWithPadding(varargin) C = varargin; nC = numel(C); len = c...

3日 前 | 0

回答済み
Linearly "interpolate" a 1-dimensional vector
What's wrong with interp1? pops = flipud(pop(:,2)); n = numel(pops); weekpop = interp1(1:n, pops, linspace(1, n, (n-...

3日 前 | 0

| 採用済み

回答済み
if function for array
x=[52.23;52.45;56.32;55.48;56.32;53.39;55.53;53.67;57.89] subplot(2,2,1) plot(x) subplot(2,2,2) index = find(52 < x && x <...

4日 前 | 0

回答済み
Install older versions of MATLAB
When does the question for selecting the folder occur? During downloading or during the installation? Do not install the Matlab ...

4日 前 | 0

回答済み
Anonymous function inside of function file
Your anonymous function CfromF takes one input and converts its contents. In your code you call this function without an input a...

4日 前 | 0

回答済み
Count the occurence of a number in between other numbers
With FEX: RunLength : [B, N] = RunLength(x); Result = N(B == 0) If you do not have a C-compiler installed, use RunLength_M fr...

4日 前 | 2

回答済み
How to read sequence of pcd files
No, the standard method to import files in a loop works for any kind of input. Please post your code and explain, why you assume...

5日 前 | 0

回答済み
filtering and combining signals
You need a scientific decision for a filter, not an opinion from the forum. Is there any evidence that a median filter does not ...

5日 前 | 0

回答済み
Deleting temporal path files
Open the tool to manage the path: pathtool There is a corresponding button in the toolbar also. See also: https://www.mathwor...

5日 前 | 1

| 採用済み

回答済み
Wrong dates on axis when plotting from xlsx file
Do you see, that you use "MM" for minutes and months? The format strings for the date format are case-sensitive. b=datestr(y_ne...

5日 前 | 1

| 採用済み

回答済み
Save a file inside a subfolder of a folder
function out = functionTiago(A, Folder) subFolder = fullfile(Folder, 'SUBFOLDER'); mkdir(subFolder) out = A + 5; save(fullfi...

5日 前 | 0

| 採用済み

回答済み
Completely unable to configure a C/C++ Compiler
I installed R2018b last week. Then I've downloaded the MinGW compiler: https://www.mathworks.com/matlabcentral/fileexchange/528...

7日 前 | 0

回答済み
What is wrong with this uibutton and callback function?
I guess, that the object with the tag 'BG1' is not found. Then store it explicitly: bg = uibuttongroup('Visible','off',... ...

7日 前 | 0

質問


ismethod(string('test'), 'endsWith') under R2016b and 2018b
R2016b: ismethod(string('asd'), 'endsWith') ans = logical(1) R2018b: ismethod(string('asd'), 'endsWith') ans = logical(0) ...

7日 前 | 1 件の回答 | 0

1

回答

回答済み
mex command with -largeArrayDims and/or -R2017b?
According to the answer of the technical support: The 64 bit addressing triggered by the -largeArrayDims flag is implicitly ena...

7日 前 | 0

| 採用済み

回答済み
How to open files in different folders for data processing?
Since Matlab >= R2016b: List = dir('C:\Your\Data\Folder\**\FileName.txt'); FileName = fullfile({List.folder}, {List.name}); f...

10日 前 | 1

回答済み
check variable within 5% of a fixed value
prms2 = inf; limit = abs(pstd2) * 0.05; while abs(prms2 - pstd2) < limit alphap = alphap*(pstd2/prms2); P = ((E/(...

10日 前 | 1

| 採用済み

Load more