Community Profile

photo

Walter Roberson


Last seen: Today
49,974 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.

連絡する

Walter Roberson's バッジ

  • 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

すべて表示

貢献した分野
表示方法

回答済み
infinite Integration of hyperbolic function
y5=@(x)(4*hh.^2-4.*(x.^2)); y6=@(x)y4(x)./y5(x); You have a division by a constant minus 4*x^2 . But that can pass thr...

27分 前 | 0

回答済み
How to find the unknown for singular matrix
nulls = null(A); candidates = nulls./nulls(:,1); The columns in candidates should start with 1 ... unless they start with NaN ...

約1時間 前 | 0

回答済み
How to use "inspect" command in compiled code using MATLAB compiler?
inspect() is a development tool that I would not expect to be compilable . https://www.mathworks.com/products/compiler/supporte...

約5時間 前 | 0

回答済み
Can I assign a variable to a number in a matrix from another matrix?
A = magic(7) E = eig(A) w1 = E(1,1) w2 = E(2,1) w3 = E(3,1) m1 = 3; m2 = 11; m3 = -7; output = [ m1*w1^2 ...

約6時間 前 | 0

回答済み
how do I merge multiple matrices into one?
One approach N = 4; %50 in your original Rows = 2; %1111 in your original %generate some data for illustration M = ar...

約7時間 前 | 0

回答済み
I'm trying to convert Matlab code to C++ or C, but it has some errors. Can someone help me with this?
My adjusted version of the code passes compilation, and produces graphs. However I can demonstrate that the algorithm is wrong. ...

約12時間 前 | 0

回答済み
I need help with running two for loops
you do not reset dif when you move on to the next j value so the while will end immediately.

1日 前 | 0

回答済み
closed form solution in a system of equation
There are four families of solutions. [X1 == 1, X2 == (cos(Lz1*h*sin(RootOf(Lz1^2*cos(Z)^2*h^2+cos(Z)^2*Z^2*k1^2-Lz1^2*h^2))/c...

1日 前 | 0

回答済み
How to import and read multiple .txt files where each .txt file contains multiple number of x,y,z values??
You can use https://www.mathworks.com/help/matlab/ref/matlab.io.datastore.tabulartextdatastore.html Or projectdir = 'name_of_...

1日 前 | 0

回答済み
Error: Array indices must be positive integers or logical values.
Please read https://www.mathworks.com/matlabcentral/answers/395816-why-do-i-get-array-indices-must-be-positive-integers-or-logic...

1日 前 | 0

回答済み
Solving one equation with multiple variables
Substitute the first known time and known s(t) to get a linear equation. Do the same with the other two known values. You will e...

1日 前 | 0

回答済み
fminsearch with 3 variables
example f=@(v)v(1).*v(2)-sin(v(1)+v(2)) Instead of f=@(x,y)x.*y-sin(x+y)

1日 前 | 0

| 採用済み

回答済み
Array formation and parentheses-style indexing with objects of class 'matlab.io.datastore.ImageDatastore' is not allowed. Use objects of class 'matlab.io.datastore.ImageDatastore' only as scalars or use a cell array. Error in Untitled9 (line 30)
You are trying to index a datastore. Instead you need to create new datastore from indexing the file names. https://progi.pr...

1日 前 | 0

| 採用済み

回答済み
How do you produce an empty plot if value is higher or lower than given user input value?
y=nan; custom=nan; If you want to produce an empty plot for that case. Your current code will not prod...

2日 前 | 0

回答済み
Have function use variables within workspace
Normal functions cannot see the variables in the workspace of the caller -- not unless the function specifically asks to look th...

2日 前 | 1

回答済み
Need help with inverse laplace
syms s tp T assume(T>=0) %THIS X_a=((1/s)-(1/(s+(1/tp))))*exp(-T*s) x_a=ilaplace(X_a)

2日 前 | 0

回答済み
My while loop and rem function create an infinite loop
You do give a chance for the user to enter x again, so you are testing the same x each time.

2日 前 | 0

| 採用済み

回答済み
Draw multiple surfaces from different tables(.mat) files. Such that the different .mat files have different Color and names should be displayed on the surface
I already gave you instructions on how to do this, but you did not follow the instructions. Also, you did not deal with the fac...

2日 前 | 1

回答済み
± use in MATLAB
syms ALPHA syms delta_1 delta_2 assume(-0.008 <= delta_1 & delta_1 <= 0.008) assume(-0.002 <= delta_2 & delta_2 <= 0.002) CL...

2日 前 | 0

回答済み
Am I Going About This the Right Way?
No. You need to find the location x, y such that the total of (0.5*distance*volume) over each of the customers, is minimized. ...

2日 前 | 1

回答済み
Solve non-linear equations system parametrically, Why are the answers empty?
There are four solution sets, that look something like [X1 == 1, X2 == (cos(Lz1*h*sin(RootOf(Lz1^2*cos(Z)^2*h^2+cos(Z)^2*Z^2*k...

2日 前 | 0

回答済み
The limit of a symbolic expression
The limit of constant 0 times f(x) is 0 unless f(x) approaches infinity at the same rate that the constant 0 approaches being 0....

3日 前 | 0

回答済み
spline interpolation error , index in line 1
spline = spline(t,e_t); After that line spline refers to an array not the function. Use a different variable name.

3日 前 | 0

| 採用済み

回答済み
Is there a way to get an 8 x 1 matrix instead of 8 x 3 using dec2bin or any other?
string(dec2bin (2 ^ n-1: -1: 0)) This will be considered an array. The entries will be string objects such as "011". The en...

3日 前 | 2

| 採用済み

回答済み
using symbolic variable with spline interpolations
[~, coeffs] = unmkpp(pp); Splines are not a single equation in the sense of a single polynomial that works from beginning t...

3日 前 | 0

回答済み
matlab function in simulink
You are in a MATLAB Function Block, so you need to follow MATLAB syntax. MATLAB does not have multiple assignment in the form...

3日 前 | 0

回答済み
Error using PARFOR: Index exceeds the number of array elements
global variables are not copied to workers when you use Parallel Computing Toolbox, and setting the variable on one worker does ...

3日 前 | 0

| 採用済み

回答済み
How can we solve this, how to convert mupad to live script?
A = [[2, 1, 1] [3, 4, 3] [3, 5, 4] [2, 6, 5]]; surf(A)

3日 前 | 0

回答済み
Invalid expression. Need help fixing my function.
if score < 0 || score > 100

3日 前 | 0

| 採用済み

Load more