답변 있음
How do I transform this handle into a string?
Okay, I solved this one. Thanks to all for responding.

거의 8년 전 | 0

답변 있음
What is wrong with this?
I modified code to: function SQUARE = logipack( V) % Find the size of the input matrix [m,n] =size(V); ...

거의 8년 전 | 0

질문


What is wrong with this?
I need to be able to determine what my code is producing. It yields: <</matlabcentral/answers/uploaded_files/65644/Captu...

거의 8년 전 | 답변 수: 2 | 0

2

답변

질문


How do I transform this handle into a string?
My code is: function x = find_zero( f,x1,x2 ) %FIND_ZERO Summary of this function goes here % Detailed explanation ...

거의 8년 전 | 답변 수: 5 | 0

5

답변

질문


Told to ask a new question = Why won't this work?
My code follows, it doesn't work, but it does store the column indices of 1s. function SQUARE = logipack( V) % Find ...

거의 8년 전 | 답변 수: 1 | 0

1

답변

질문


Problem with straightforward problem - Can you help?
My code is as follows. It doesn't return the right answer. For 1556 it returns "XI". Its supposed to return "XVI" for the cen...

거의 8년 전 | 답변 수: 1 | 0

1

답변

질문


Need a means of passing a handle to a function shown to me.
Hi, I need to pass a "handle" to a function. I then need to use the handle. Here is the question that describes the code. ...

거의 8년 전 | 답변 수: 1 | 0

1

답변

답변 있음
I don't understand this question, does someone else?
Thanks. I have to pack the matrix in an array. Here is my code. It isn't working. Any idea what is wrong? functio...

거의 8년 전 | 0

질문


I don't understand this question, does someone else?
The question is: <</matlabcentral/answers/uploaded_files/65423/Capture.JPG>> Can someone please explain it via an illustra...

거의 8년 전 | 답변 수: 4 | 0

4

답변

질문


Need to find Palindromic number with multipliers that are both n digits long.
Okay, I seek palindromic number with multipliers that are both "n" digits long. Once I find a palindromic candidate, I must det...

거의 8년 전 | 답변 수: 0 | 0

0

답변

질문


Debugger won't step into software at first line with this code.
My code is: function n = palin_product( dig,lim ) if isnumeric(dig)== false n = 0; return; ...

거의 8년 전 | 답변 수: 0 | 0

0

답변

질문


Create largest N digit number
I need to create an N digit number given only that it is N digits long. For N = 2, this number would be two nines, or 99, for...

거의 8년 전 | 답변 수: 1 | 0

1

답변

질문


How to request additional data from the user in a function
Hi, Thanks for reading this. I have to call a function, then it appears I need to request more data from within the functi...

거의 8년 전 | 답변 수: 4 | 0

4

답변

질문


Matlab and Pendulum function - Need Help - Thank you.
function T= pendulum( L, a0 ) %PENDULUM Summary of this function goes here % Detailed explanation goes here %initia...

거의 8년 전 | 답변 수: 4 | 0

4

답변

답변 있음
I'm getting an error in the line with product (count)= A*B/C
Received an answer elsewhere.

거의 8년 전 | 0

| 수락됨

답변 있음
Wrong answer to straightforward problem:
Thanks a lot, that was the problem.

거의 8년 전 | 0

질문


Wrong answer to straightforward problem:
*** Write a function called triangle_wave that computes the sum <</matlabcentral/answers/uploaded_files/64878/Capture.JPG>>...

거의 8년 전 | 답변 수: 2 | 0

2

답변

질문


I'm getting an error in the line with product (count)= A*B/C
function [ out ] = triangle_wave( n ) %TRIANGLE_WAVE Summary of this function goes here % Detailed explanation goes he...

거의 8년 전 | 답변 수: 2 | 0

2

답변

답변 있음
Eulers Number Code and Questions
Can't use factorial.

거의 8년 전 | 0

답변 있음
Eulers Number Code and Questions
Okay, solved it.

거의 8년 전 | 0

| 수락됨

질문


Eulers Number Code and Questions
My current code follows, but is in error when I enter "1" as the input. DO you see the problem?: function [est k ] = appr...

거의 8년 전 | 답변 수: 3 | 0

3

답변

답변 있음
Don't understand indexing statement from compiler
BUt in the code as written now there is no multiplication or division,and it still won't work.

거의 8년 전 | 0

질문


Don't understand indexing statement from compiler
MY code is: function mbd = spherical_mirror_aberr(fn,D ) %SPHERICAL_MIRROR_ABERR Summary of this function goes here %...

거의 8년 전 | 답변 수: 2 | 0

2

답변

질문


Problem with function. Can you help? Thanks.
Question is withdrawn. Problem solved.

거의 8년 전 | 답변 수: 1 | 0

1

답변

질문


Need a better solution than "try-catch" statement to find an intentional error in input arguments
I know there are a lot of handy matlab functions that do what I must program, but I'm not allowed to use them. I need to be ab...

거의 8년 전 | 답변 수: 0 | 0

0

답변

질문


How do I set counter = to a value when it is a persistent variable so if i reinitialize it each time through a loop it loses it purpose?
function result = exp_average(a,varargin) persistent avg counter; if counter ==0 counter =0; end if nargin ...

거의 8년 전 | 답변 수: 1 | 0

1

답변

질문


I need to be able to use a vector as an input to a function either as a variable or in form [ 1 2 ...N]
I need to be able to use a vector as an input to a function, but it can be either in vector form or as a variable name: here c0 ...

거의 8년 전 | 답변 수: 1 | 0

1

답변

질문


I need to be able to input a vector, either as a vector, or as a variable name, to a function.
I need to be able to use a vector as an input to a function, but it can be either in vector form or as a variable name: here c0...

거의 8년 전 | 답변 수: 1 | 0

1

답변

질문


For some strange reason MATLAB spits out two answers to the following code , pay2 =, and p =. It is ony supposed to produce 1 answer
The following code is spitting out two answers, and it's only supposed to produce one answer, payment. Instead it spits out a...

거의 8년 전 | 답변 수: 2 | 0

2

답변

질문


How to discover where code ends.
function days = day_diff( M1,D1,M2, D2 ) %DAY_DIFF Summary of this function goes here % Detailed explanation goes he...

거의 8년 전 | 답변 수: 1 | 0

1

답변

더 보기