Community Profile

photo

Gareth Thomas

MathWorks

Con actividad desde 2011

Followers: 0   Following: 0

Contacto

Estadísticas

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

Ver insignias

Feeds

Respondida
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...

más de 6 años hace | 0

Respondida
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...

más de 6 años hace | 0

Respondida
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...

más de 6 años hace | 0

Respondida
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...

más de 6 años hace | 0

Respondida
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....

casi 7 años hace | 0

Respondida
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...

casi 7 años hace | 0

| aceptada

Respondida
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/...

casi 7 años hace | 0

Respondida
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...

casi 7 años hace | 0

Respondida
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...

casi 7 años hace | 0

Respondida
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...

casi 7 años hace | 0

Respondida
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

más de 7 años hace | 0

Respondida
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.

más de 7 años hace | 1

Respondida
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 ...

más de 7 años hace | 0

Respondida
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...

más de 7 años hace | 5

| aceptada

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

más de 7 años hace | 0

Respondida
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')...

más de 7 años hace | 0

Respondida
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...

más de 7 años hace | 0

Respondida
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...

más de 7 años hace | 0

Respondida
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...

más de 7 años hace | 0

| aceptada

Respondida
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 ...

más de 7 años hace | 0

Respondida
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...

más de 7 años hace | 1

Respondida
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...

más de 7 años hace | 1

Respondida
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...

más de 7 años hace | 0

Respondida
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 ...

más de 7 años hace | 0

Respondida
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)

más de 7 años hace | 1

Respondida
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...

más de 7 años hace | 2

| aceptada

Respondida
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)

más de 7 años hace | 0

Respondida
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...

más de 7 años hace | 1

Respondida
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...

más de 7 años hace | 0

Respondida
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...

más de 7 años hace | 0

Cargar más