Gelöst


Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
Submit your answer to this problem a multiple of 5 seconds after the hour. Your answer is irrelevant; the only thing that matte...

mehr als 6 Jahre vor

Gelöst


Energy of a photon
*&#9883 &#9762 &#9883 &#9762 &#9883 &#9762 &#9883* Given the frequency F of a photon in giga hertz. Find energy E of this...

mehr als 6 Jahre vor

Gelöst


How to subtract?
*&plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn* * Imagine you need to subtract one...

mehr als 6 Jahre vor

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

mehr als 6 Jahre vor | 0

Gelöst


Multiply by 3
Given the variable x as your input, multiply it by three and put the result in y.

mehr als 6 Jahre vor

Gelöst


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

mehr als 6 Jahre vor

Gelöst


Find the largest value in the 3D matrix
Given a 3D matrix A, find the largest value. Example >> A = 1:9; >> A = reshape(A,[3 1 3]); >> islargest(A) a...

mehr als 6 Jahre vor

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

mehr als 6 Jahre vor | 0

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

mehr als 6 Jahre vor | 0

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

mehr als 6 Jahre vor | 0

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

mehr als 6 Jahre vor | 0

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

mehr als 6 Jahre vor | 0

| akzeptiert

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

mehr als 6 Jahre vor | 0

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

mehr als 6 Jahre vor | 0

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

mehr als 6 Jahre vor | 0

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

mehr als 6 Jahre vor | 0

Gelöst


Compute Fibonacci Number
Compute the _n_-th Fibonacci Number f(0) = 0, f(1) = 1, f(2) = 1, f(3) = 2, ... f(42) = 267914296

etwa 7 Jahre vor

Gesendet


MakeHTMLTableFilter
Visualizing Tables in HTML from MATLAB

mehr als 7 Jahre vor | 2 Downloads |

Thumbnail

Gesendet


URL Read Table
Return cell array of tables from HTML page.

mehr als 7 Jahre vor | 4 Downloads |

Gelöst


Back to basics 9 - Indexed References
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix and row and column, output the index of th...

mehr als 7 Jahre vor

Gelöst


Factorize THIS, buddy
List the prime factors for the input number, in decreasing order. List each factor only once, even if the factorization includes...

mehr als 7 Jahre vor

Gelöst


Return a list sorted by number of occurrences
Given a vector x, return a vector y of the unique values in x sorted by the number of occurrences in x. Ties are resolved by a ...

mehr als 7 Jahre vor

Beantwortet
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

mehr als 7 Jahre vor | 0

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

mehr als 7 Jahre vor | 1

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

mehr als 7 Jahre vor | 0

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

mehr als 7 Jahre vor | 5

| akzeptiert

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

mehr als 7 Jahre vor | 0

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

mehr als 7 Jahre vor | 0

Gelöst


Back to basics 4 - Search Path
Covering some basic topics I haven't seen elsewhere on Cody. Return a string that is the user's portion of the current search...

mehr als 7 Jahre vor

Gelöst


Back to basics 3 - Temp Directory
Covering some basic topics I haven't seen elsewhere on Cody. Return a string that is the path to the system's current temp di...

mehr als 7 Jahre vor

Mehr laden