Community Profile

photo

Walter Roberson


Last seen: Today 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. I am currently caught up to T0099119; if you are waiting on a reply from me for an older issue, please send me a reminder.

Programming Languages:
C, MATLAB, Shell, Perl, Fortran
Spoken Languages:
English

統計

All
  • Most Accepted 2022
  • Most Accepted 2021
  • Solver
  • First Review
  • Roberson Cup
  • Most Accepted 2019
  • Most Accepted 2018
  • Most Accepted 2017
  • 36 Month Streak
  • Most Accepted 2016
  • Most Accepted 2015
  • Most Accepted 2011

バッジを表示

Content Feed

表示方法

回答済み
All functions in a script must be closed with an 'end'.
Delete or comment out everything from the "function" line. * Your script never invokes the function * functions inside a scr...

約8時間 前 | 1

回答済み
min and max Functions Breaking After Conversion From Symbolic to MATLAB Function
Symbolic variables (that are not symmatrix) are scalars. For scalar x, min(5,x) is the same as min([5,x]) Symbolic operations...

約13時間 前 | 1

| 採用済み

回答済み
Getting error in Inverse Kinematic block using robotics system toolbox for 2 DOF planner robot
rename your MATLAB\inverseKinematics.m to a different name. The current name is interfering with a built-in model with the same ...

約21時間 前 | 2

| 採用済み

回答済み
How to make colorbars symmetric?
In order to have the color scale be consistent between the two, the axes CLim property must be the same for the two plots. In pa...

1日 前 | 0

回答済み
how can improve my code performanece, it uses a syms vector, i tried to delete y=t= sym(zeros(1, m + 3)); and it's faster but the solution of the function its wrong
t(k)=(-(4*S*R*k*(k+1)+4*S*R*(k+1))*t(k+2)+(1+FS-b*S*ra-6*S*R^2*(k-1)*k-12*S*R^2*k)*t(k+1)+(-4*S*R^3*(k-2)*(k-1)+2*...

1日 前 | 0

回答済み
Storing parameters from a for loop in arrays
You have theta1(i, :) = theta(1); theta2(i, :) = theta(1); Notice you are storing theta(1) in both cases. You should ...

1日 前 | 0

回答済み
assign name row to table
Either use LastName = ["Sanchez";"Johnson"]; Sistemi_check.Properties.RowNames=LastName; or else LastName = {'Sanchez';'John...

1日 前 | 2

回答済み
Latex Failing for Big Linear System
cla probes = 1:10; base = repmat('\pi', 1, 300); %900 characters for K = 1:length(probes) msg = "$" + base + repmat('x...

1日 前 | 0

| 採用済み

回答済み
How can I solve my for
syms x Caudal=[5.93266E-05, 0.00082573, 0.001571951, 0.002318172, 0.003064541, 0.004018053, 0.00493061, 0.005552929, 0.00654917...

1日 前 | 0

| 採用済み

回答済み
MATLAB giving me a 16x1 complex double answer?
You are using floating point inputs, each of which is inexact. For example is 89.81 intended to represent exactly 8981/100 or is...

2日 前 | 0

回答済み
Matrix double and complex double
That algorithm would be for element-by-element multiplication. For * (matrix multiplication) you need to mentally transpose the ...

2日 前 | 0

回答済み
Offload figure graphic computations from NVIDIA to local intel GPU
https://superuser.com/questions/1657952/disabling-nvidia-gpu-for-routine-tasks shows how to change your graphics card preference...

2日 前 | 0

回答済み
vpa solving 5 equations with 5 unknowns, but result is an empty structure
When you are dealing with symbolic inequalities, you have two choices: You can convert them directly to symbolic equalities, so...

2日 前 | 0

回答済み
GLOBAL VARIABLE :HOW USE IT?
Global variables are only reachable within the current workspace. Consider the following code: first(); second(); third(); fun...

3日 前 | 2

回答済み
Solving the Maximum and Minimum Problems of Multivariate Functions
No. You have coded finite lower bounds and upper bounds for x3, and you have coded a single region for x1. However your problem ...

3日 前 | 0

回答済み
attaching callback function to a serialdev object.
Callbacks are not supported for serialdev() objects. Note that this serial port lives on the pi and is for connecting an extern...

3日 前 | 0

| 採用済み

回答済み
How can I put shapes (as circles, and arrows) and (multi-rows) texts outside a Matlab plot?
The formal method is to use annotation However note that annotation() cannot use data coordinates, so it can be messy to place...

3日 前 | 1

| 採用済み

回答済み
I would like to shorten the code, but keep the same type and size of the variable N{t}{w}(i).
N = repmat({repmat({zeros(1,10)}, 1, 3)}, 1, 3)

3日 前 | 0

回答済み
New tab Sheet using fprintf function
No, that is not possible. csv files are pure text files, and do not have tab sheets. Putting data on other tabs is possible in ...

4日 前 | 0

回答済み
Will Dropbox new use of Apple file API make things difficult for me?
MATLAB's uigetfile() already uses native operating system file choosers, so if you have been using uigetfile() on MacOS you alre...

4日 前 | 0

回答済み
error on line 42 : gui_mainfcn(gui_State, varargin{:});
Change delete(instrfind({'Port'},{'COM3'})) clear a; global a; a = arduino(); to global a; if ~isempty(a); clear global a...

4日 前 | 0

回答済み
Code not showing any result or any error
Your code defines kepler_plot but never invokes it. But you have other problems as well. I had to guess what you were doing. e...

5日 前 | 0

回答済み
Requesting a demo code for calculating second-order statistics (contrast, correlation, energy, homogeneity, and entropy) for medical images.
Split the code up into two parts: read the medical images into memory arrays code that calculates second-order statistics on m...

5日 前 | 0

回答済み
Concatenating matrices unable to create a row jump
cruzzi = []; Numeric array. cruzzi{i} = [cruzzi imbinarize(tigger{i,o}, carrey)]; First cycle, cruzzi is the empty nu...

5日 前 | 0

回答済み
Parameter tunning using GA
You cannot fix that. You are calculating four costs each time, but ga() can only handle one cost at a time. ga() will never be a...

5日 前 | 0

| 採用済み

回答済み
how to solve this, Error using .* Arrays have incompatible sizes for this operation. Error in Elm (line 156) tempH_test=InputWeight.*TV.P;
The .* (element-by-element multiplication) operator can proceed in the case where: every dimension that is not 1 in either Inpu...

5日 前 | 0

回答済み
How to use subroutines inside subroutins in GUI functions?
A different one of your questions implies that you are using GUIDE, or hand-building your code -- that in particular you are not...

5日 前 | 0

回答済み
Is it possible to pass a variable throu a callback function?
Yes. In general see http://www.mathworks.com/help/matlab/math/parameterizing-functions.html However, in the special case of set...

5日 前 | 1

| 採用済み

回答済み
How to write a subfunction inside a GUI function?
Yes, it is possible. In the case of App Designer you might have to define the function in a separate .m file if it is not a cal...

5日 前 | 0

回答済み
How to create a protected file
Not really. You can embed a SoC kind of computer within a tamper-resistant covering that would be likely to break with all of...

5日 前 | 0

| 採用済み

さらに読み込む