Community Profile

photo

Walter Roberson


Last seen: Today
48.189 total contributions since 2011

I do not do free private consulting. If you want to bring my attention to something, send a link to the MATLAB Answers location.

Contact

Walter Roberson's Badges

  • Roberson Cup
  • Most Accepted 2019
  • Most Accepted 2018
  • Solver
  • First Review
  • Most Accepted 2017
  • 36 Month Streak
  • Most Accepted 2016
  • Most Accepted 2015
  • Most Accepted 2011
  • Most Accepted 2012
  • Most Accepted 2013
  • Thankful Level 4
  • Grand Master
  • Revival Level 4

View all

Contributions in
View by

Answered
Can you put matab code in an app for users to edit?
Yes, provided that the app is not being compiled (so the users need a matlab license to execute it.) For all of the possibili...

alrededor de 2 horas ago | 0

Answered
I can't graph multivariable function that contains cos function doens't work
Z=exp(X).*cos(Y); Remember that the * operator is matrix multiplication (inner product). Multiplication of corresponding ele...

alrededor de 2 horas ago | 0

| accepted

Answered
Input arguments to function include colon operator. To input the colon character, use ':' instead
x1k = @(u1k,x1k) exocstrstateFcnCT1(x1k,u1k); That is a function handle y1 = x1k; That copies the function han...

alrededor de 9 horas ago | 0

Answered
Using eval function for execute a power flow with DC system embedded
Don't *do* that! casefile = sprintf('case_ieee30_test%d.mat', i); savecase(casefile, baseMVA, bus, gen, branch); And...

alrededor de 10 horas ago | 0

Answered
help me to matlab script
sympref('heavisideatorigin', 1) x = @(t) heaviside(t)

alrededor de 14 horas ago | 0

Answered
FEVAL Error in Implementing Bisection - Function to evaluate must be represented as a string scalar, character vector, or function_handle object.
that code expects you to pass a function handle as the first parameter.

alrededor de 14 horas ago | 0

| accepted

Answered
do you have a rate for retirees?
For personal interest there is the Home license. Unfortunately that does not allow access to some of the toolboxes, and is limit...

alrededor de 14 horas ago | 0

Answered
What does Sel do in this code?
http://matrix.etseq.urv.es/manuals/matlab/toolbox/mutools/sel.html Very old MATLAB! It looks to me as if is just doing ind...

alrededor de 15 horas ago | 1

| accepted

Answered
How to select between two identically named built-in functions?
When Mathworks constructs function names it ensures that if there is the same function name, that all except possibly one of the...

alrededor de 21 horas ago | 0

Answered
how to save jpeg after compression code ?
save it any way you like, such as using save() into a .mat file, or write the information into different sheet names of xlsx fil...

alrededor de 21 horas ago | 1

| accepted

Answered
how to generate and precise double value?
randi([0 10], size(x))./10

alrededor de 23 horas ago | 0

| accepted

Answered
Log Parsing using MATLAB
S = fileread('data_file.txt'); line_matches = regexp(S< '^.*\sharber4797\s.*$', 'lineanchors', 'dotexceptnewline')

alrededor de 23 horas ago | 0

Answered
How to get value of X based on a specific value of Y in Graph
x100 = interp1(y, x, 100, 'linear', 'extrap')

alrededor de 24 horas ago | 1

| accepted

Answered
Bisection Method Error - Unable to perform assignment because the indices on the left side are not compatible with the size of the right side.
rtns=makereturns(20,2); 20 x 2 Q = cov(rtns) 2 x 2 a = [0;1]; B = [1;-1]; 2 x 1 each V = a.*Q*a + 2*a.*Q*B*x + B.*Q*B*x^2 ...

alrededor de 24 horas ago | 0

| accepted

Answered
Unrecognized function or variable 'phload.'
You are passing phload into toploadph, but toploadph is not passing it into FE which needs it. We can also predict that FE is n...

1 día ago | 0

Answered
convert a function into optimization expressions
The solvers are not compatible with symbolic work. The problem-based approach does not permit you to inject your own functions....

1 día ago | 0

| accepted

Answered
Function with Non Constant Variable
syms x output = S(3, 1, x, 2); disp(output) output = S(3, 1, 4, 2); disp(output) function SF = S(F, a, x, n) if isa(a, '...

1 día ago | 0

Answered
Function with Non Constant Variable
syms x output = S(3, 1, x, 2); disp(output) output = S(3, 1, 4, 2); disp(output) function SF = S(F, a, x, n) if isa(a, '...

1 día ago | 0

Answered
Error in entropy function
The entropy function only permits a single parameter. You are probably thinking of the wentropy function, which does permit 'sh...

1 día ago | 0

Answered
Invalid use of operator.
The syntax for anonymous functions is @(list of variables) body Instead you have @(expression) -Tsf

1 día ago | 0

Answered
how can I change a character string from low case to upper case without using the formula of 'low()' and 'upper()' ?
Subtract 32 from the character code. Which you might want to phrase as variable - 'a' + 'A'

1 día ago | 0

Answered
Help with ODE45 Running Forever
For t1 you have a sin wave with frequency 17563117453.348 being integrated over 0 to 10*pi . This is a quite high frequency and ...

1 día ago | 0

| accepted

Answered
Index in position 2 exceeds array bounds
4027.93116292808 - 3784.63252459062i That is not two columns: that is a single column that is complex-valued. signal = csv ./ ...

1 día ago | 0

Answered
Can i run matlab on i3 (dual core) with SSD and 8GB RAM
Yes, MATLAB will run on a dual core i3 with 8 Gb and SSD. Four core or more is recommended but it will run on two core https://...

1 día ago | 0

Answered
How to find the x and y values at the max of a curve?
CBE350HW10PT1 %invoke the function function CBE350HW10PT1 tspan = [0,2000]; conc = [0.02,0,0]; [t, c] = ode45(@odefun3,ts...

1 día ago | 1

| accepted

Answered
When i tried to change the training function in nntrain , from trainlm to traindx, i get the error :
The message is correct. Mathworks does not supply any function named traindx . It does, however, supply a function named traing...

1 día ago | 0

| accepted

Answered
Numbers in command window printed 10000 times smaller
My recommendation would be that you go into Preferences -> Command Window -> Text Display, and choose numeric display "long g",...

1 día ago | 0

Answered
more then one tag on object in figure
No. The Tag field of an object must be a character vector or a scalar string. The only way to store multiple tags would be to en...

1 día ago | 0

Answered
How to check whether the function invertible or not?
If all you are given is a function handle, and you are not permitted to examine the source code, then it is not always possible ...

1 día ago | 0

Answered
Execution time of functions used in anonymous function creation
What is the best way to force immediate execution of a function that is being used as part of an anoymous function? stackAnalye...

1 día ago | 0

| accepted

Load more