Community Profile

photo

Gareth Thomas

MathWorks

Attivo dal 2011

Followers: 0   Following: 0

Contatto

Statistiche

All
  • Scavenger Finisher
  • Knowledgeable Level 3
  • Revival Level 2
  • Quiz Master
  • Cody5 Easy Master
  • Personal Best Downloads Level 2
  • First Review
  • 5-Star Galaxy Level 3
  • GitHub Submissions Level 1
  • First Submission
  • Knowledgeable Level 2
  • First Answer

Visualizza badge

Feeds

Risposto
read data line by line from a .dat file after pressing a certain keyboard key
Are you looking for fgetl? <https://www.mathworks.com/help/matlab/ref/fgetl.html?s_tid=doc_ta Read line from file, removing new...

oltre 6 anni fa | 0

Risposto
Can I run Simulink models using python program?
Have you seen the MATLAB Engine API for Python? <https://www.mathworks.com/help/matlab/programming-interfaces-for-c-c-fortran...

oltre 6 anni fa | 0

Risposto
how can i create a delay block(like in simulink) with matlab code
Have you tried the pause command? <http://www.mathworks.com/help/matlab/ref/pause.html pause: Stop MATLAB exectution temporar...

oltre 6 anni fa | 0

Risposto
How can I extract number/letter part from this binary image ?
Have you tried OCR? Optical Character Recognition. <http://www.mathworks.com/help/vision/examples/recognize-text-using-optica...

oltre 6 anni fa | 0

Risposto
How can I used Matlab for predictive modelling with those data ?
Have you seen the MathWorks Predictive Modeling website? It has lots of examples that will help you get started <https://www....

quasi 7 anni fa | 0

Risposto
Can a simulink program send voltage readings to arduino uno?
Have you seen the Arduino Blocks in Simulink? Check this out: <https://www.mathworks.com/help/supportpkg/arduino/examples/get...

quasi 7 anni fa | 0

| accettato

Risposto
Generate a random number with a distribution in Simulink
There is a random source block in Simulink, is this what you are looking for? https://www.mathworks.com/help/releases/R2016b/...

quasi 7 anni fa | 0

Risposto
how can i read unformatted binary file into matlab
Have you tried using the fread command with the options? <https://www.mathworks.com/help/releases/R2016b/matlab/ref/fread.htm...

quasi 7 anni fa | 0

Risposto
Face recognition in live video
Does this work for you from the example? (This is the basic starting point of that demo). <https://www.mathworks.com/help/rel...

quasi 7 anni fa | 0

Risposto
Insert BLOB data into SQLite database field using Matlab and SQL query. Any idea?
Say you have a MAT file, (which is binary) and you want to store that in the sqlite blob... one way to do this is: % Read y...

quasi 7 anni fa | 0

Risposto
Displaying more than four decimal places in Live Script
This has to do with they way you format your answer. Try this in the live script: pi format long pi

oltre 7 anni fa | 0

Risposto
can u send me the code if i attached that particular paper??
This sounds like homework... MATLAB Answers is not designed for others to do homework assignments.

oltre 7 anni fa | 1

Risposto
issue with Repeating Random Numbers in parfor-Loops
<https://nl.mathworks.com/help/matlab/math/why-do-random-numbers-repeat-after-startup.html Why do Random Numbers start the same ...

oltre 7 anni fa | 0

Risposto
Add new data into existing excel file
If you use xlswrite with this code it should work: filename = 'testdata.xlsx'; A = {'Time','Temperature'; 12,98; 13,99; 14...

oltre 7 anni fa | 5

| accettato

Risposto
why won't this plot?
for i = 1:length(xaxis); hold on ;if xaxis(i) >0; plot(xaxis(i),yaxis(i),'x'); end; end;

oltre 7 anni fa | 0

Risposto
why won't this plot?
You need to add the hold on command. Try this: for i = 1:length(xaxis); hold on;if xaxis(i) >0; plot(xaxis(i),yaxis(i),'x')...

oltre 7 anni fa | 0

Risposto
Why is Simulink so quiet like a ghost?
This actually comes from your Windows Sound settings, if you turn off your Windows Default Beep then your simulation wont make a...

oltre 7 anni fa | 0

Risposto
How can I export Simulink scope to M file and get the step response?
On every signal in Simulink you can look at its properties and log the data. The data then appears in MATLAB Worskpace. See logg...

oltre 7 anni fa | 0

Risposto
How can I add chart in a specific sheet in an excel workbook via Matlab?
There are a few ways of doing this: - If you use MATLAB Spreadsheet link <https://nl.mathworks.com/products/excellink/ Spread...

oltre 7 anni fa | 0

| accettato

Risposto
How to do a fft from a sine signal with hanning function
MATLAB has awesome help. If you type doc fft You should get a nice page with examples that should be enough to get you ...

oltre 7 anni fa | 0

Risposto
Someone already tried to create an interface from MATLAB with XFLR5?
I am not sure if this is what you were looking for: <https://nl.mathworks.com/matlabcentral/fileexchange/30478-rafael-aero-xf...

oltre 7 anni fa | 1

Risposto
how to use trained dataset in my java code?
In R2016b you can actually call a MATLAB session from a java program (if you have MATLAB on the same machine): <https://nl.mathw...

oltre 7 anni fa | 1

Risposto
How do we start to build a MATLAB model for battery?
There is a great discovery page to help you through this: <https://nl.mathworks.com/discovery/battery-models.html Model batte...

oltre 7 anni fa | 0

Risposto
How to iterate creating matrices that are not altered by previous results?
I am not sure if I understand your questions but using: <https://nl.mathworks.com/help/matlab/ref/mean.html mean> you can ...

oltre 7 anni fa | 0

Risposto
How do i make print the variable name for a certain variable
myw=who; now all you need to do is cycle through the values of the variables and return the myw.name(ind)

oltre 7 anni fa | 1

Risposto
Convert date to specific format julian date
Datetime works nicely. I believe it came out in R2014b. <https://nl.mathworks.com/help/matlab/ref/datetime.html see the Datet...

oltre 7 anni fa | 2

| accettato

Risposto
How do i make print the variable name for a certain variable
If I understand you correctly you would like to print a the content of a variable. a = 2;b = 3;c = a*b;disp(c)

oltre 7 anni fa | 0

Risposto
Hello, Any solution to run Python files through Matlab simultaneously ?
Yes, you can call Python from MATLAB: <https://nl.mathworks.com/help/matlab/call-python-libraries.html?searchHighlight=python Ca...

oltre 7 anni fa | 1

Risposto
Real time vector saving
If I understand you correctly you have a stateflow chart, in which one state you are calculating some parameters for a polyfit a...

oltre 7 anni fa | 0

Risposto
How to include constraint for pdepe solution (e.g., u>0)
<http://nl.mathworks.com/help/symbolic/piecewise.html Piecewise function> In R2016b one can use the Piecewise function. I hop...

oltre 7 anni fa | 0

Carica altro