Community Profile

photo

Rik


1,368 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 バッジ

  • 12 Month Streak
  • Revival Level 3
  • Guiding Light
  • Thankful Level 2
  • Knowledgeable Level 4
  • First Answer
  • Solver

詳細を表示...

貢献した分野
表示方法

回答済み
How to find the area of a segmented image in matlab?
You can make use of the fact that true is stored as a 1. Make sure your object is the only one marked with true and then use thi...

約16時間 前 | 4

| 採用済み

回答済み
Load particular data in a .m file from another .m file from different folder.
I'm going to guess that your m file is not a function but a script. I would recommend using functions for anything but testing. ...

約16時間 前 | 1

| 採用済み

回答済み
Extracting file name elements to vectors
You can put the contents of your loop in a separate function and call that with arrayfun if you insist, but that will not really...

1日 前 | 0

回答済み
Reading a 97-2003 xls file
Sometimes it helps to provide the full file name including the extension. That way Matlab doesn't have to determine the file typ...

3日 前 | 1

回答済み
Query data from 1xn struct
The |table| data type is probably a better choice for your usage. Then you can also easily index.

4日 前 | 0

| 採用済み

回答済み
How to plot $40b^2x-9b^2-60bx+72b-144=0$
It shouldn't be too hard to pry out x from this equation. Getting out b is a bit more tricky. 40b^2x-9b​^2-60bx+72​b-144=0 ...

4日 前 | 0

| 採用済み

回答済み
Histograms from point cloud
It looks like you can use the columns from xyzPoints, because they seem to store the coordinates. Otherwise you could also use t...

8日 前 | 0

| 採用済み

回答済み
Slider which changes images
Live updates are a bit more tricky, but you can use the uicontrol function to create a slider. Then you can use the callback fun...

9日 前 | 0

| 採用済み

回答済み
How to read N number of .log files at a time?
Generate the file names with sprintf and loop over the files.

9日 前 | 0

回答済み
MATLAB Answers Wish-list #5 (and bug reports)
Editor support on mobile seems not fully tested. (I'm using Android 9 (Lineage OS), with Chrome as browser and Swiftkey as the k...

10日 前 | 0

回答済み
How do I create a table from the names of files in some folders?
You can use the dir function to get a full file list: list=dir('C:\Your\Path\**\*.flac'); Then you can parse each file name to...

10日 前 | 0

回答済み
read data from file and convert to a 3d array.
To suggest the best way to read the file, you will have to share a small sample. Otherwise functions like importdata or the more...

10日 前 | 0

回答済み
How do i add on deatoolbox on MATLAB?
Download the toolbox from github: https://github.com/javierbarbero/DEAMATLAB/archive/master.zip Then you can extract that to ...

11日 前 | 1

| 採用済み

回答済み
Importing multiple .xlsx files to automate data processing
I would suggest using dir to create a list of the files and then parsing them in a loop. Probably using xlsread directly is a sm...

12日 前 | 0

回答済み
could anyone help me how to solve the issue
If you want to not show a tick, you can remove it by explicitly skipping it. ylim([0,1.1]) set(gca,'YTick',[0.2:0.2:1.1]) You...

14日 前 | 1

| 採用済み

回答済み
Hollow out binary matrix shape
To find the wall, I would invert the image, do a dilation and then & the original and the processed images. It doesn't really ma...

14日 前 | 1

| 採用済み

質問


MATLAB Answers Wish-list #5 (and bug reports)
This is the 5th installment of the wish-list and bug report thread. This topic is the follow on to the first Wish-list for MATL...

15日 前 | 5 件の回答 | 0

5

回答

回答済み
input character not valid
Rename your own function (C:\Users\Rick\Desktop\eeglab13_6_5b\plugins\Biosig3.3.0\biosig\maybe-missing\strncmpi.m). It is being ...

15日 前 | 0

回答済み
What does @(x,y)myFunction mean?
The @ symbol generates either a function handle or creates an anonymous function. You can read more on this doc page. You thir...

15日 前 | 0

| 採用済み

回答済み
Find groups of duplicate values and preserving order?
The code below is far from optimal, but it should help you out. It assumes there is always an L to load, and you have enough mem...

15日 前 | 1

| 採用済み

回答済み
Write to file inside a loop
Or a much better practice: if you know the number of iterations you should pre-allocate your output array. saveb1 = zeros(1,k);...

15日 前 | 1

回答済み
How to Slide a 3X3 window across a pixel of the image in matlab.
You can still use the convolution tools: im=randi([0 1], 315, 274); kernel=[1 1 1;1 0 1;1 1 1]; sum_of_8=convn(im,kernel,'sam...

16日 前 | 2

回答済み
How to turn a column of seconds into the datetime-type?
The rowfun function should be usefull here. You can convert seconds to datetime with t = datetime(Y,M,D,H,MI,S) (set the rest of...

16日 前 | 1

回答済み
subplot two different images in two different for loop
You are overwriting your plots. If you step through your code you will see that you first make an k+1 subplot, then increment k ...

19日 前 | 0

| 採用済み

回答済み
How can I display the value at a point in a figure with mouse (touch screen laptop)
A=randi(127,100,150);A=uint8(A); figure(1),clf(1) imagesc(A) datacursormode on Note that axes interactions changed in R2018b...

20日 前 | 0

| 採用済み

回答済み
How to match scale of x axes in subplots, so that a given time period occupies same amount of x axis space in each subplot?
You have two options: Set an explicit x-range and set it at the end of your loop with the xlim function. In your current code ...

20日 前 | 0

| 採用済み

回答済み
colormap only 64 colors?
Your choice of function has a mismatch with what you want. The line below could help, but will stay an approximate: contourf(X,...

22日 前 | 0

| 採用済み

回答済み
I want to delete all the headerlines and delimiters from the data in the below attached text file
The best solution is probably to read your entire file as text, then remove the header lines, then parse them with textscan.

24日 前 | 1

| 採用済み

回答済み
How to do image rotation in matlab?
It is a bit strange to store your image with getappdata on the graphics root, instead of with guidata. You will also notice that...

25日 前 | 2

| 採用済み

回答済み
How to find the values of jump in an array?
There are several ways to solve this. Below you find a way to look over a few samples where there is a big jump. Another option ...

25日 前 | 0

| 採用済み

Load more