Community Profile

photo

Rik


Last seen: Today
2,116 2017 이후 총 참여 횟수

E-mails with feedback/questions about FEX submissions are welcomed. In general I will post e-mails about Answers on the related page, unless there is good cause not to do so.

담당자

Rik's 배지

  • 36 Month Streak
  • GitHub Submissions Level 3
  • Ace
  • Personal Best Downloads Level 3
  • Editor's Pick
  • First Review
  • 5-Star Galaxy Level 4
  • First Submission
  • Revival Level 3
  • Thankful Level 2
  • Knowledgeable Level 4
  • First Answer
  • Solver

세부 정보 보기...

참여 게시물
보기 기준

제출됨


BlandAltmanPlot
Create a Bland-Altman plot and return a struct with results and handles.

2일 전 | 다운로드 수: 12 |

Thumbnail

답변 있음
Fast subsetting or indexing of data
Whenever you find yourself copy-pasting code in Matlab, you should consider an array. seasons={'Spring','Summer','Autumn','Wint...

2일 전 | 0

| 수락됨

제출됨


ifversion
Determine if the current version satisfies a version restriction

3일 전 | 다운로드 수: 2 |

답변 있음
What frustrates you about MATLAB? #2
Comment posted by John in the previous thread: Matlab should 'update' the new version instead of installing the new version. Th...

3일 전 | 0

답변 있음
How to read data from a file into cell array keeping indents undisturbed
You can get my readfile function from the FEX or through the AddOn-manager (R2017a or later). It will read a file to a cell arr...

4일 전 | 3

답변 있음
How to asign Unicode string to popup menu without fonr error?
Since you're using a release pre-R2020a, the default to store m-files is not UTF-8. That means any special character has a very ...

5일 전 | 0

| 수락됨

답변 있음
SOS: How do I get the same amount of positive and negative values in a random vector?
Your question differs from your description. If you want to select the points with both x and y above 0, you need to use both as...

5일 전 | 1

답변 있음
bug in power calcultion while in loop ?
This is not a bug. Look at the exponent: 2e-16 is very small. It is close enough to eps that you can assume that is just 0. The...

5일 전 | 1

| 수락됨

답변 있음
Reshape panel data to wide using text scan
If you want to read an Excel file you can use the aptly named xlsread function. The second or third output is probably what you ...

5일 전 | 0

답변 있음
Redistribution of histogram type data in specified bins
You should be really careful with this resampling, especially for so few samples. Since you're assuming a flat distribution in ...

6일 전 | 0

답변 있음
Solved it, thanks anyway
Step by step. Split up your problems in manageable parts. If you have the coordinates of all corners of your polygon, you can u...

6일 전 | 0

답변 있음
matlab area calculation under fitted curve
You can use trapz for a numerical approximation of an integration. By selecting your bounds you can use this to calculate the ar...

6일 전 | 0

답변 있음
Code is not working, can someone help me?
This should fix it: function s = Sum1(x,y,z) s = 0; for i=0:min(x,y) for k=0:x-i s = s + (-1)^k * QuantumDi...

7일 전 | 1

답변 있음
extract structure array value
You can hide the loop with arrayfun, but be aware that a good loop is always better than cellfun or arrayfun. You should ask you...

7일 전 | 0

| 수락됨

답변 있음
Error at 13.2
You edited the code of the Further Practice section, instead of the Task 1 & 2 section.

7일 전 | 0

답변 있음
calling class into another class
Here is an example from the documentation: classdef PositiveDouble < double methods function obj = PositiveDouble(da...

7일 전 | 0

답변 있음
How do I add a black border around an image?
You can pad an array with zeros. IM=uint8(255*rand(100,100)); IM2=zeros(120,120,'like',IM); IM2(11:110,11:110)=IM; imshow(IM...

8일 전 | 0

답변 있음
How to export the data corresponding to the new pixel size?
doc imresize

8일 전 | 0

답변 있음
Sub-matrix Access in a Square Pattern
It looks like either blockproc or mat2cell is what you're looking for.

9일 전 | 2

답변 있음
Write a function called valid_date that takes three positive integer scalar inputs year, month, day. If these three represent a valid date, return a logical true, otherwise false. The name of the output argument is valid.
You test everything at once. You can do that, but you need to pay attention to what is evaluated first: %steps in evaluation: ...

9일 전 | 0

답변 있음
Merging Smaller Cells into a Bigger one
The source of your problem is that you are using the same indices for your big array as for your smaller array. The solution to...

10일 전 | 0

| 수락됨

답변 있음
Split Climate Data for month and yers
d=19300101; s=sprintf('%08d',d); y=str2double(s(1:4)); m=str2double(s(5:6)); d=str2double(s(7:8)); Or even simpler: d=1930...

10일 전 | 0

답변 있음
While Loop regarding user input type stuck on infinite else loop
The data type of R is not changing, so if you create it as a char, it will never be numeric. If you want to use this setup, you ...

10일 전 | 0

| 수락됨

답변 있음
adding functions to path
Start with the documentation. It is one of the major advantages of Matlab over competing platforms. Do you understand what these...

10일 전 | 0

답변 있음
How to use 2 matrixes as the xlabel to a plot?
doc datetime

10일 전 | 0

답변 있음
How to plot a line graph (x,y) with a color bar representing z-axis...
You can use plot, colorbar, colormap, and caxis. You can adjust the line color by setting the Color property of the line object ...

13일 전 | 1

| 수락됨

답변 있음
Load sequential numbered files in MatLab on the same script in different subfolders
Use mydata_folder{1} instead of mydata_folder1. That way you can use a simple loop instead of having to generate the variable na...

14일 전 | 0

답변 있음
Making An Output Display Twice What the Input Was
You need to make sure you receive the input as a numeric data type, or you need to convert the string input to a double (that is...

14일 전 | 0

답변 있음
X Bar doesn't show all labels
I don't really see why, but if you check get(gca,'XTick') you will notice that only the 1 and 2 have ticks in the first place. ...

15일 전 | 0

| 수락됨

답변 있음
How to selectively save the names and values of some workspace variables to a CSV file?
This should do the trick. If the variables aren't scalars the results might not be what you want. a = 3; b=7; c=5; d=9; sav...

16일 전 | 1

| 수락됨

Load more