Answered
How to transfer a license to a new hard drive on the same laptop?
If Student version: * MATLAB and Simulink Student Version Users: Technical support by MathWorks is only available for is...

12 years ago | 0

Answered
How do i import a single txt file with multiple arrays aligned vertically into matlab?
See <http://www.mathworks.com/matlabcentral/answers/68846#answer_80181 Using TEXTSCAN to import an ASCII file with a header and ...

12 years ago | 0

Answered
How to merge multiple structure with same name into one structure?
Search the File Exchange for <http://www.mathworks.com/matlabcentral/fileexchange/index?utf8=%E2%9C%93&term=merge+structure merg...

12 years ago | 0

Answered
Help me about this in GUIDE of Matlab ?
Put a line similar to h = warndlg('My physics applet is about to start,','MyApp'); in the beginning of ypour code.

12 years ago | 1

Answered
How define a variable like pi in matlab?
Another way: >> my_constants.pi ans = 3.1416 where classdef my_constants properti...

12 years ago | 2

Answered
Help me about Plotting command in Matlab ?
|ezplot| uses |plot| to make the actual plot. There is no difference in nicety of the output. |plot| takes vectors of numeri...

12 years ago | 0

| accepted

Answered
Is there a function equivalent to "isnan" that works for financial time series (fints) input arguments?
<http://www.mathworks.com/help/finance/fints.html?searchHighlight=fints tsobj = fints(dates, data)> constructs a financial time ...

12 years ago | 0

Answered
Exporting value to .csv file with updated value from a timer
A couple of thoughts: * see <http://www.mathworks.com/matlabcentral/answers/108829#answer_117453 Running Script using Timer> ...

12 years ago | 1

Answered
workspace in gui mode
Functions have their own workspace, which is cleared when the function is completed. Search the help for function and workspace....

12 years ago | 0

Answered
Efficient way to import large date sets
Try %% len = 1e5; str = '2013-12-10, 00:01:02, 1,2,3,4,5,6,7,8,9,0'; fid = fopen( 'c:\m\cssm\data_2.txt', ...

12 years ago | 0

| accepted

Answered
find x points which makes a best fit to a curve
See <http://www.mathworks.com/matlabcentral/fileexchange/index?utf8=%E2%9C%93&term=swinging+door Data compression by removing re...

12 years ago | 0

Answered
something akin to singleton expansion in object array assignment
Or hide the num2cell in a function >> [bugs.legs] = num2list( [12 13 14 8 4] ) bugs = 1x5 bug array with p...

12 years ago | 0

Answered
Undefined function 'graf' for input arguments of type 'double'.
Two lines need to be changed to make the constructor work: Change the line graf(doba,navsteva) %volani priva...

12 years ago | 0

Answered
Inheritence scope problem with superclass timeseries
That's because |timeseries| is a value class. See <http://www.mathworks.com/help/matlab/matlab_oop/comparing-handle-and-value-cl...

12 years ago | 0

Answered
How to execute a function after the value of a property changed? Problems with callback function
There are two problems * |@RB.ChgPMV| (this call would work with static methods) [see the answer of Sven] * |function ChgPMV...

12 years ago | 1

Answered
Error Message: Subscript indices must either be real positive integers or logicals. This occurs when running the for loop for the very last value of a. Perhaps someone may be able to assist me.
The error occurs for the line intgr(1,scalefactor_z(a)) = trapz(x,y); because with |a| equal to |1| K>> scalefa...

12 years ago | 0

Answered
Read time with colon from .txt file
Try %% fid = fopen( 'data.txt' ); cac = textscan( fid, '%s%f%f%f%f', 'CollectOutput', true ); sts = fclose...

12 years ago | 1

| accepted

Answered
Running Script using Timer
The trick is to use an anonymous function. Try >> my_timer_test 2013-12-05 22:09:31 2013-12-05 22:09:43 2...

12 years ago | 1

Answered
Matlab stop time or running time
See also: * <http://www.mathworks.com/help/matlab/ref/timeit.html timeit, Measure time required to run function> * <http://w...

12 years ago | 0

Answered
Function to capitalize first letter in each word in string but forces all other letters to be lowercase
The help on |regexprep| (R2013a) includes this example str = 'here are two sentences. neither is capitalized.'; ...

12 years ago | 2

Answered
Why do I keep getting this error message?
See * <http://www.mathworks.com/help/matlab/matlab_prog/create-functions-in-files.html#zmw57dd0e27423 Create Functions in Fil...

12 years ago | 0

| accepted

Answered
How to add a crosshair to matlab Figures?
See * <http://www.mathworks.com/help/matlab/creating_plots/data-cursor-displaying-data-values-interactively.html?searchHighl...

12 years ago | 0

Answered
New to Matlab, where is the best place to start learning how to program in Matlab
Start by searching <http://www.mathworks.com/matlabcentral/fileexchange/index?utf8=%E2%9C%93&term=position+sun+azimuth File Exch...

12 years ago | 0

| accepted

Answered
How to get this kind of plot
It requires a bit of code to make this plot. * select a suitable colormap (You might have to define your own. See colormaped...

12 years ago | 1

| accepted

Answered
read data accuracy lost
|dlmread| doesn't round to whole numbers. Try this %% dlmwrite( 'myfile.txt', 95000.823, 'precision', '%12.3f' )...

12 years ago | 0

Answered
outdated Matlab command. Need new equivalent
|elevation| is still in the <http://www.mathworks.com/help/map/ref/elevation.html the Mapping toolbox>. However, "Note: elev...

12 years ago | 0

Answered
Modifying Text Data without changing the file format?
Given _"that have the exact same structure and size,"_ |memmapfile| is the fastest.

12 years ago | 0

Answered
How to fix code?
Watch the video <http://www.mathworks.com/support/2013a/matlab/8.1/demos/WritingAMATLABProgram.html Working in The Developmen...

12 years ago | 0

Answered
I couldn't fix problem
In this line filter=[zeros(1,3513) eksi_kisim arti_kisim zeros(1,3513)]; you make |filter| a double array. Because of...

12 years ago | 0

| accepted

Answered
Textscan with multiple delimiters
I'm not sure I understand your question, but: textscan( '1,2;3:4', '%d%d%d%d', 'Delimiter', ',;:' ) ans = ...

12 years ago | 5

Load more