Gareth
VersionBay
Followers: 0 Following: 0
Ex MathWorker. I am now co-founder of a company called VersionBay.
Statistics
RANK
1.032
of 295.495
REPUTATION
70
CONTRIBUTIONS
0 Questions
31 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
13
RANK
15.209 of 20.240
REPUTATION
10
AVERAGE RATING
0.00
CONTRIBUTIONS
1 File
DOWNLOADS
6
ALL TIME DOWNLOADS
58
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
rearranging textfile that contains commas
There is probably an easier way of doing this... but this should work: a = fileread('example.txt'); % txt file that you share...
meer dan 5 jaar ago | 0
Extracting numerical results from a text file at different positions
good catch, my bad:) it was late at night. This should work. In either case if you are learning MATLAB, regexp are very powerful...
meer dan 5 jaar ago | 0
| accepted
Extracting numerical results from a text file at different positions
There is probably an easier way to do this... but this should help. (I am using R2018b). a = fileread('0295_PhD_AB~Analysis...
meer dan 5 jaar ago | 1
Compiling excel files from subfiles
There might be a more elegant way than what I am proposing but this should work: ds = spreadsheetDatastore(pwd,'IncludeSubfol...
meer dan 5 jaar ago | 0
| accepted
Compiling excel files from subfiles
Try the following: ds = spreadsheetDatastore(pwd,'IncludeSubfolders',true) where pwd is the root folder.
meer dan 5 jaar ago | 0
Compiling excel files from subfiles
Hi Jen , I am using R2018b, and there is a wonderful datatype: datastore which does this for you. A variation of it is the sp...
meer dan 5 jaar ago | 0
How to convert csv file containing MAC addresses to JSON array
I did the following: Used Import Wizard, generated the script belo I am on R2018b, so I used the function jsonencode at the en...
bijna 6 jaar ago | 0
how to fix too many output argument?
Dear Ma.Cathyrine Ravina, There are several ways of doing this: Use a Live Script (with control slider bar) Create a MATLA...
bijna 6 jaar ago | 0
| accepted
How to find separate graphs
Ro=[0 0 0 1 0 0; 0 0 1 0 1 0; 0 0 0 0 0 0; 0 0 ...
bijna 6 jaar ago | 0
| accepted
if NaN then...
Have you tried using the function isnan? https://nl.mathworks.com/help/matlab/ref/isnan.html?searchHighlight=isnan&s_tid=doc_sr...
bijna 6 jaar ago | 4
How to insert code segments from another MATLAB file?
There usually are 3 ways that I have seen people do this. in your func.m add a comment with a special TAG (e.g. %#mycode), th...
bijna 6 jaar ago | 1
| accepted
Retrieve data from several folders and structures
If I understand correctly you have data files in different folders and you want to take subset of that data and reorganize it in...
bijna 6 jaar ago | 0
| accepted
How can I use pushbuttons in GUI to categorize a "like" or "dislike" of a image
Here is a very simple away around this... in the directory where you have the images try the following code: im = imageDatast...
bijna 6 jaar ago | 0
How to get environment password in script/function
The MathWorks does have a Database toolbox which does exactly what you are describing. That being said you probably would have t...
bijna 6 jaar ago | 0
i want to download MATLAB Arduino support package. How i can ???
This should help: https://nl.mathworks.com/matlabcentral/fileexchange/47522?download=true I got this link from: https://nl.ma...
bijna 6 jaar ago | 0
Read the output line by line
Hi, Not sure if I understand the problem correctly... are you trying to given an image with text get the text into MATLAB? If ...
bijna 6 jaar ago | 0
Creating the Snake game using a classdef
Try adding drawnow after the plot.
bijna 6 jaar ago | 1
| accepted
How can I get the maximum line of multiple graphs, starting from different x-values?
Maybe I miss understood but you could use min and max to achieve this: t = 0:.1:2*pi; for i = 1:4, y(i,:) = sin(t*i*2*pi);end;...
bijna 6 jaar ago | 0
How to fix number of elements in for loop?
There are couple of things here however the first is to get your code working: q= 0.2; E = 200*10^8; a= -6:6; n=numel(a); ...
bijna 6 jaar ago | 1
| accepted
Write to txt, delimited by char(10)
x = ['a' char(10) 'b']; fp = fopen('test.txt','w'); fwrite(fp,x); fclose(fp); I am on a Mac and using R2018b. That being sai...
bijna 6 jaar ago | 0
| accepted
color of line plot with marker problem
There are a couple of ways to solve this (I am using R2018b): plot(x,y,'-s','MarkerSize',10,'Color','red',... 'MarkerEdgeCol...
bijna 6 jaar ago | 0
Checking/Counting values in a given Timewindow
Hi JamJan, If I understand correctly you have a matrix with 2 rows, the first row shows times, and the second 1. You are aski...
bijna 6 jaar ago | 1
Can I write the output of a 'summary' command of a 'table'-variable to a variable ?
I believe as of R2017b you can do the following: a = summary(tab) This will return a structure with the information that s...
bijna 6 jaar ago | 0
How i Calculate the average number of even numbers in an array?
Hi Tomer, I am not sure if I understand your question correctly. In MATLAB to calculate the average you would use the func...
bijna 6 jaar ago | 0
How to copy and paste a single row in an excel file to another excel file?
I am using R2018b, and there are a couple of ways of solving this. I like the following: ds = spreadsheetDatastore(pwd,'Range...
bijna 6 jaar ago | 0
| accepted
Image plot I am not able to create
I am using R2018b: a=readtable('dte2.txt'); plot(a.x_coordinate,a.y_coordinate,'.') Does this help?
ongeveer 6 jaar ago | 0
Histogram: put mean and std in the legend
I am using R2018b and my understanding is that you want to have: each line on your plot not named data, but the legend itself h...
ongeveer 6 jaar ago | 1
How can I insert an vector graphic in App Designer in Matlab?
Try this: In MATLAB: imshow('file.svg') If you are using App Designer: imshow('file.svg','Parent',app.UIAxes)
ongeveer 6 jaar ago | 1
generate a unique ID
This has already been asked: https://nl.mathworks.com/matlabcentral/answers/240447-using-java-uuid-in-matlab#answer_191523 tem...
ongeveer 6 jaar ago | 1
how do i get the higher values into the bins
Maybe try using histcounts Here is a small example: X = randn(1000,1); edges = [-5 -4 -2 -1 -0.5 0 0.5 1 2 4 5]; N = his...
ongeveer 6 jaar ago | 1