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

casi 11 años hace | 1

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

casi 11 años hace | 1

| aceptada

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

casi 11 años hace | 0

| aceptada

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

casi 11 años hace | 0

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

casi 11 años hace | 0

| aceptada

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

casi 11 años hace | 0

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

casi 11 años hace | 0

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

casi 11 años hace | 0

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

casi 11 años hace | 0

| aceptada

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

casi 11 años hace | 0

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

casi 11 años hace | 0

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

casi 11 años hace | 0

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

casi 11 años hace | 0

| aceptada

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

casi 11 años hace | 0

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

casi 11 años hace | 0

| aceptada

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

casi 11 años hace | 0

| aceptada

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

casi 11 años hace | 1

| aceptada

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

casi 11 años hace | 0

| aceptada

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

casi 11 años hace | 0

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

casi 11 años hace | 2

| aceptada

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

casi 11 años hace | 1

| aceptada

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

casi 11 años hace | 0

| aceptada

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

casi 11 años hace | 0

| aceptada

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

casi 11 años hace | 0

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

casi 11 años hace | 0

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

alrededor de 11 años hace | 0

| aceptada

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

alrededor de 11 años hace | 0

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

alrededor de 11 años hace | 0

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

alrededor de 11 años hace | 0

Cargar más