A résolu


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

environ 7 ans il y a

A résolu


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

environ 7 ans il y a

A résolu


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

environ 7 ans il y a

Réponse apportée
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...

environ 7 ans il y a | 0

A résolu


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

plus de 7 ans il y a

A résolu


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

plus de 7 ans il y a

A résolu


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

plus de 7 ans il y a

Réponse apportée
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...

plus de 7 ans il y a | 0

Réponse apportée
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...

plus de 7 ans il y a | 0

Réponse apportée
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...

plus de 7 ans il y a | 0

Réponse apportée
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....

plus de 7 ans il y a | 0

Réponse apportée
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...

plus de 7 ans il y a | 0

| A accepté

Réponse apportée
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/...

plus de 7 ans il y a | 0

Réponse apportée
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...

plus de 7 ans il y a | 0

Réponse apportée
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...

plus de 7 ans il y a | 0

Réponse apportée
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...

plus de 7 ans il y a | 0

A résolu


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

presque 8 ans il y a

A soumis


MakeHTMLTableFilter
Visualizing Tables in HTML from MATLAB

presque 8 ans il y a | 2 téléchargements |

Thumbnail

A soumis


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

environ 8 ans il y a | 3 téléchargements |

A résolu


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

environ 8 ans il y a

A résolu


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

environ 8 ans il y a

A résolu


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

environ 8 ans il y a

Réponse apportée
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

environ 8 ans il y a | 0

Réponse apportée
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.

environ 8 ans il y a | 1

Réponse apportée
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 ...

environ 8 ans il y a | 0

Réponse apportée
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...

environ 8 ans il y a | 5

| A accepté

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

environ 8 ans il y a | 0

Réponse apportée
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')...

environ 8 ans il y a | 0

A résolu


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

environ 8 ans il y a

A résolu


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

environ 8 ans il y a

Charger plus