Community Profile

Contact

Top 1% contributor

Datetime works nicely. I believe it came out in R2014b. <https://nl.mathworks.com/help/matlab/ref/datetime.html see the Datet...

accepted

2

Answered 20 days ago

2 downloads

1 month ago

There is also the option of invoking Python from inside MATLAB... see the link: <http://nl.mathworks.com/help/matlab/getting-...

Answered 1 year ago

Given a string, remove all the letters which in ASCII Code are prime numbers. For Example: s1 = 'Determine which array e...

Solve this!

0

1 year ago

Hi Francisco, Check out the R2014a release notes for Simulink. http://www.mathworks.nl/help/simulink/release-notes.html GitH...

16934 views

Responded 2 years ago

Typically people use MAT files for this. a = rand(10); b = rand(12); save myMat a b clear all l...

1

Answered 2 years ago

This sounds like homework... MATLAB Answers is not designed for others to do homework assignments.

Answered 19 days ago

If you use xlswrite with this code it should work: filename = 'testdata.xlsx'; A = {'Time','Temperature'; 12,98; 13,99; 14...

There are a few ways of doing this: - If you use MATLAB Spreadsheet link <https://nl.mathworks.com/products/excellink/ Spread...

In R2016b you can actually call a MATLAB session from a java program (if you have MATLAB on the same machine): <https://nl.mathw...

Yes, you can call Python from MATLAB: <https://nl.mathworks.com/help/matlab/call-python-libraries.html?searchHighlight=python Ca...

Is this what you were looking for? plot(1:10);text(10,10,'Is this what you need?');

Answered 21 days ago

This is supported with Embedded Coder. <http://www.mathworks.com/hardware-support/st-discovery-board.html ST Discovery Board> ...

Answered 12 months ago

See: <http://www.mathworks.com/help/releases/R2015b/matlab/ref/fopen.html fopen> try using: fopen with 'w' instead of 'r'

If you are looking for inspiration: - Try the MathWorks Videos or the MathWorks user stories. Here is the video page: <h...

Hi Jason, Have you seen this page in the R2015a documentation: <http://www.mathworks.com/help/matlab/matlab_external/handl...

i believe that data dictionary will help: <http://nl.mathworks.com/help/simulink/ug/what-is-a-data-dictionary.html what is a dat...

However I would invite you to explore the Curve Fitting Toolbox. <http://www.mathworks.nl/products/curvefitting/videos.html P...

There are many ways of doing this... however a common way is using MAT Files. a = rand(10); b = rand(12); save myMat ...

You will need Vehicle Network Toolbox http://www.mathworks.nl/products/vehicle-network/code-examples.html

V = rand(1,3) C = rand(13,3) dot(V,C(1,:)) dot(V,C(2,:)) for i = 1:length(C) d(i) = dot(V,C(i,:)); end ...

If you right click on the .csv you can use the Import Data, and a the Import Wizard will help you through the process, you will ...

Hi Sivakumaran, There are a couple of ways of doing this. - take a frame, add your watermark to it, save that frame, repea...

Hi Samious, If you use the command figure you will get a new graph. function graph(a,b) x=a y=x^2 ...

Hi Danilo, Try using the curve fitting toolbox. Here is the link to: <http://www.mathworks.com/help/releases/R2011b/to...

Answered 5 years ago

Hi Joe, Maybe I miss understood what you were aiming for but try logical indexing. img = imread('pout.tif'); h_im = ims...

Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix and row and column, output the index of th...

16 days ago

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

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

Covering some basic topics I haven't seen elsewhere on Cody. Return a string that is the user's portion of the current search...

19 days ago

Load more

Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a location from the following list:

See all countries