답변 있음
Where can I get the activation key?
If you are using your school or company's license, please contact your IT department (whoever maintains your software licenses) ...

11일 전 | 0

답변 있음
Execution of script ode45 as a function is not supported/Error in pop (line 9) [t,p] = ode45(@yprime,[0,tfin],pinit,options);
/Users/laurenashby/Documents/MATLAB/ode45.m This script file is preventing MATLAB from running the ode45 function included with...

11일 전 | 0

답변 있음
graph format for Applied Physics Letters Journal papers
There is a page with guidelines / rules for Applied Physics Letters manuscripts. If you have further questions about those guide...

11일 전 | 0

| 수락됨

답변 있음
Execution of script ode45 as a function is not supported ... Error in pop (line 12) [a,b] = ode45(@yprime,[0,tfin],pinit);
You've written a script file ode45.m that's taking precedence over the ode45 function included in MATLAB. Check where that scrip...

12일 전 | 1

답변 있음
Mathwork address is required. My apologies if its not Matlab question
I'm not certain what tax documents you need to send to MathWorks, but perhaps you should contact Customer Service using the Cont...

12일 전 | 1

답변 있음
How to create iteratively a vector of handle functions?
c = {@sin; @cos; @tan}; f1 = @(x) cellfun(@(fh) fh(x), c); % Assuming the outputs are all scalar y1 = f1(pi/4) f2 = @(x) cell...

12일 전 | 0

답변 있음
Saving a variable with an index in a for loop
Can you do this? Yes. Should you do this? The general consensus is no. See that Answers post for an explanation and alternative...

12일 전 | 0

답변 있음
License will still running if I change my laptop?
Use the instructions in this Answers post to deactivate the license on the old laptop then install and activate the license on t...

12일 전 | 0

답변 있음
Why indexing vs not indexing the 2D matrix will lead to different result?
For a long time [Bobby Cheng and Peter Perkins call out "a few release" and "several releases" in a thread from 2007 on the old ...

12일 전 | 2

| 수락됨

답변 있음
Hi, I have some code written to solve LU decomposition, but the code tells me that there is an error in [n, n], why is this error? Any suggestions?
When you're asking for help understanding the cause of an error message, please include the error message in your post. I'm goi...

13일 전 | 0

답변 있음
how to type this equation in matlab?
Much as you'd written it here, except for the fact that if you multiply a number and a variable, two variables, or a number or v...

13일 전 | 0

답변 있음
forming a function handles in matrix
MATLAB used to allow nonscalar arrays of function handles, but that functionality was removed probably 10 to 15 years ago. As th...

13일 전 | 0

답변 있음
Problem creating a cash register function
Every time through your while loop you overwrite the value of the change variable with the contents of the total variable. Neith...

14일 전 | 0

답변 있음
Array indices must be positive integers or logical values.
In the last line of your for loop: (Lambda_1(1-exp(-1*Lambda_0*t(i)))-Lambda_0(1-exp(-1*Lambda_1*t(i)))) It's very unlikely 1-...

15일 전 | 1

| 수락됨

답변 있음
Can histogram bin edges and width be specified for the same histogram?
The edges input is not required to be a uniformly spaced vector. x = rand(1, 1e5); E = [0 2.^(-5:0)]; h = histogram(x, E, 'No...

15일 전 | 0

| 수락됨

답변 있음
How to read a very large number, say of 700 digits?
Your 700 digit number is too large to fit in double precision. The largest finite double precision number doesn't have that many...

15일 전 | 0

답변 있음
How Do I compare classes without having an error
Either use isequal or (especially if class hierarchies are involved) use isa. x = 5; y = int8(3); z = 42; f = figure; isequ...

15일 전 | 0

답변 있음
Error loading files after compiling an app in AppDesigner
[file, path] = uigetfile('*.nii'); disp(['User selected ', fullfile(path, file)]); app.nifti = niftiread(file); You ask the u...

15일 전 | 0

답변 있음
solve a set of two linear equations
If this isn't a homework assignment, use fsolve from Optimization Toolbox. If this is a homework assignment, check your textboo...

16일 전 | 0

답변 있음
I want an old Matlab Webinar on GPS Receiver
Do you mean this book, published in 2007? A lot has changed in the past fourteen years: many (most?) of the products whose docum...

16일 전 | 0

답변 있음
how to remove error"Conversion to logical from sym is not possible."?
This doesn't do what you probably think it does or want it to do. p<= tol >=t This is the same as: (p<= tol) >=t which wou...

16일 전 | 0

| 수락됨

답변 있음
SelectionType of Mousebutton is empty
Likely your figHandle variable is empty. If you're looking to determine how the mouse button was pressed _in your app window_ wh...

16일 전 | 0

| 수락됨

답변 있음
A figure created in script "x" is being automatically deleted (didn't used to) when script "x" calls another script.
The GUI that deletes the figure probably calls close. You can protect the figure against closing somewhat by changing its Handle...

16일 전 | 0

답변 있음
Showing that Newtons method is quadratic convergent in Matlab
Before you implement this in code, how would you implement Newton's method (with error data collection, to assess convergence) i...

16일 전 | 0

답변 있음
Stop Bit growth for power computation
If you want to saturate one way you can do this is to use integer arithmetic. b = int32(-97) C = power(b, 28) Alternately you...

17일 전 | 1

답변 있음
i cannot find all x values from abs(x) using solve() function
Tell solve to show you the parameterized solution and the conditions that those parameters need to satisfy in order for the para...

17일 전 | 2

답변 있음
Why does my function handle change to a vector when I pass it to another function?
f_pe turns into a 1x150 double vector, No it doesn't. If it did I'm guessing your result function handle would throw an error w...

17일 전 | 1

| 수락됨

답변 있음
Finding sum of intersecting area of many circles
Make polyshape objects, one for each circle. You can then intersect, union, etc. those objects.

17일 전 | 0

| 수락됨

답변 있음
Class-based Unit Tests: Running Specific Methods
While runtests would be my first choice, you could also create a matlab.unittest.TestSuite object and either use a selector in t...

17일 전 | 0

답변 있음
How to check if a symbolic function is positive or negative?
MATLAB is unable to prove that y is always greater than or equal to 0 because y is not always greater than or equal to 0. Here i...

17일 전 | 0

| 수락됨

더로드