Réponse apportée
Why can't I access day, juliandate?
It's in the aerospace toolbox, are you able to pull it? which juliandate -all _C:\Program Files\MATLAB\R2015a\toolbox\a...

environ 11 ans il y a | 1

Réponse apportée
confusing error while using Table
locationsTable = table(splitLocations{:}, 'VariableNames', headerNames); It's seeing splitLocations as one variable, not fo...

environ 11 ans il y a | 1

| A accepté

Réponse apportée
Vectorizing a recursive for-loop
Usually |cumsum| and |diff| will be the two functions that help referencing adjacency. Time2 = cumsum([DT(1)/2 0.5*(DT(2:...

environ 11 ans il y a | 0

| A accepté

Réponse apportée
Running a Unit Test for multiple functions
<http://blogs.mathworks.com/loren/2013/03/14/using-the-matlab-unit-testing-infrastructure-for-grading-assignments/> You might...

environ 11 ans il y a | 0

Réponse apportée
Running a Unit Test for a script
<http://www.mathworks.com/help/releases/R2015a/matlab/matlab_prog/write-script-based-unit-tests.html>

environ 11 ans il y a | 0

| A accepté

Réponse apportée
How to solve non linear equation?
Assuming you know m, this can be solved with |fsolve| in the Optimization Toolbox doc fsolve

environ 11 ans il y a | 0

Réponse apportée
Symbolic Integration problem with respect to a variable
<http://www.mathworks.com/help/releases/R2015a/symbolic/int.html> Scroll down to the "Tips" section. Either |int| cannot fin...

environ 11 ans il y a | 0

Réponse apportée
running matlab in parallel on a cluster
Is it installed: ver('distcomp') Is a license available: license('test','Distrib_Computing_Toolbox')

environ 11 ans il y a | 0

Réponse apportée
Homework 4, Problem 2, Trouble
*checkerboard that takes as input two positive integer scalars* Yours is taking a matrix, A, it should take in n, m and not h...

environ 11 ans il y a | 0

| A accepté

Réponse apportée
Getting error: "Movie cdata must be of type uint8 array" despite the fact that my movie cdata *is* of type uint8 array.
Minimal working example, does this work: f = getframe movie([f f],5) If it doesn't then you're probably shadowing a com...

environ 11 ans il y a | 0

Réponse apportée
How can i execute Matlab m.file in Excel VBA?
You could use Spreadsheet Link EX which takes care of dealing with COM for you so that you can seamlessly move data back and for...

environ 11 ans il y a | 0

Réponse apportée
Data Acquisition Toolbox in 64-bit Windows
Yes, only 32bit Simulink is supported with DAQ (as of 15a).

environ 11 ans il y a | 0

Réponse apportée
when I run pool calculation, I got following error message, can someone help me?
It looks like the GT suite Java is overriding MATLAB's. Try moving MATLAB to the front of the operating system file path.

environ 11 ans il y a | 0

| A accepté

Réponse apportée
How to hide one of the figure plot borders?
Just use |plottools| to make whatever changes you want (including adjusting the size) plottools on Or click the icon on ...

environ 11 ans il y a | 0

Réponse apportée
Plotting experimental data from excel spread sheet vs model data on same set of axes
plot(x1,y1,'rp',x2,y2,'b*') This will put both plots on the same graph at their correct x/y locations.

environ 11 ans il y a | 0

| A accepté

Réponse apportée
Vectorization of double for loop
Just preallocating P will speed this up a lot P = cell(Nx^2,1) before the loop

environ 11 ans il y a | 0

| A accepté

Réponse apportée
converting times from excel file using datetime, datestr, and datenum
datestr uses MM to indicate minutes, you're indicating months above. datestr(datenum('13:55:20','hh:MM:ss'),'hh:MM:ss')

environ 11 ans il y a | 1

| A accepté

Réponse apportée
How to create a title in plot such that it has the same name as the .txt file name being imported?
Use |uigetfile| to select the file and then call |uiimport| with it [file,filepath] = uigetfile() S = uiimport(fullfile(fi...

environ 11 ans il y a | 0

| A accepté

Réponse apportée
Simulink callbacks not displaying text in MATLAB command window
fprintf(2,'Hello World') Will pipe to the command line in red (standard error).

environ 11 ans il y a | 0

Réponse apportée
Divide column 17 of table by 365
y = x{:,15}./365 x{:,16} = y

environ 11 ans il y a | 2

| A accepté

Réponse apportée
axes(handles.axes1) doesn't work in localEventListener function in GUI
_handles_ contains the handles to the user interface and need to be passed in explicitly to the callback. When you register the...

environ 11 ans il y a | 1

| A accepté

Réponse apportée
URGENT: Need to remove negative values from a text file from a certain column
Open the file with the import tool (right click on it, import data), select | as the delimiter, import it. From there, extract ...

environ 11 ans il y a | 0

| A accepté

Réponse apportée
Receive multiple subscripts from linear index of matrix A, where ndim(A) is uknown.
Steven's answer asks the why which is a good question. This is especially true since you're iterating over all of the elements ...

environ 11 ans il y a | 0

| A accepté

Réponse apportée
Need help alternating a code
expected = [3; 4]; badrow = find(~bsxfun(@eq,reshape(a(:,end),2,[]),expected),1,'first') If you're doing this row by row...

environ 11 ans il y a | 0

Réponse apportée
How to merge function handles in matlab?
You can store those function handles in a cell using a |for|-loop or just run the for-loop over the k values. for ii = 1:10...

environ 11 ans il y a | 0

Réponse apportée
Cell contents reference from a non-cell array object ERROR in the following function
= [y{b} (l)] : The {} are for extracting from a cell and () are for indexing into the elements in the cell since it will no...

environ 11 ans il y a | 0

| A accepté

Réponse apportée
Need Help with a Simple Symbolic Equation Solve in Matlab 2015a
One equation with two unknowns. What do you expect? Torsten's suggestion gives you the result for Z: ZZ = solve(abs(k/(...

environ 11 ans il y a | 0

Réponse apportée
how to do a page break in Programmatic Report Creation
You |append|-ed _head1_ before adding the Pagebreak. You'll need to re- |append| it after or wait to append until it's in the r...

environ 11 ans il y a | 0

Réponse apportée
Report Generator Tutorial w/examples for DOM API? Manual is WAY too cryptic.
Doug, email me and I can send you a few simple examples that work with Word templates to create reports ( first.last@whereIwork....

environ 11 ans il y a | 0

Charger plus