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

fast 11 Jahre vor | 1

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

fast 11 Jahre vor | 1

| akzeptiert

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

fast 11 Jahre vor | 0

| akzeptiert

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 0

| akzeptiert

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 0

Beantwortet
running matlab in parallel on a cluster
Is it installed: ver('distcomp') Is a license available: license('test','Distrib_Computing_Toolbox')

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 0

| akzeptiert

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 0

| akzeptiert

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 0

| akzeptiert

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

fast 11 Jahre vor | 0

| akzeptiert

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

fast 11 Jahre vor | 1

| akzeptiert

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

fast 11 Jahre vor | 0

| akzeptiert

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

fast 11 Jahre vor | 0

Beantwortet
Divide column 17 of table by 365
y = x{:,15}./365 x{:,16} = y

fast 11 Jahre vor | 2

| akzeptiert

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

fast 11 Jahre vor | 1

| akzeptiert

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

fast 11 Jahre vor | 0

| akzeptiert

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

fast 11 Jahre vor | 0

| akzeptiert

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 0

| akzeptiert

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 0

Mehr laden