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

Statistics

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

バッジを表示

Content Feed

表示方法

回答済み
i couldn't understand the problem in it
dy = zeros(12,1); You initialize 12 return values but you then only store up to dy(9). You only need zeros(9,1)

約8時間 前 | 0

回答済み
minibatchqueue or arrayDatastore drops my data precision from double to single
Gpu training does not support double precision. If you look at the available options, precision cannot be selected.

約13時間 前 | 0

回答済み
How do I plot a summation equation?
You are summing exp() of values that are purely imaginary and are mostly not integer multiples of π. The individual entries are ...

約16時間 前 | 0

回答済み
How to change the matlab maximum name length?
No there is no way to do that. The variable names and field names of struct and property names of objects are all stored as fixe...

約17時間 前 | 0

回答済み
dividing defined variable by named variable
a=sqrt((d.^2)*(3^2)) 3^2 is 9 so inside the sqrt() you have 9*d^2. sqrt() of that is sqrt(9)*sqrt(d^2). For positive d that...

約17時間 前 | 0

回答済み
What is the type or language of programation that MATLAB use? language like C++, JavaScript etc.
The internal implementation of MATLAB is written in (alphabetical order) * ActiveX / DCOM * C * C++ * Fortran * Java * M...

約19時間 前 | 0

回答済み
How can I read values from an ultrasonic sensor connected to an Arduino in Matlab app designer?
EditFieldValueChanged is only invoked when the user edits the field. You need to update the field as you store new app.distance ...

約19時間 前 | 0

回答済み
Must be a text scalar when using eval() function problems?
eval() is defined *only* for character vectors and string scalars. It is not defined for numeric values, and it is not defined f...

約20時間 前 | 1

| 採用済み

回答済み
Issue with readtable() reading strings
filename = 'as appropriate'; opt = detectImportOptions(filename); opt = setvartype(opt, 'Note', 'char'); T = readtable(filena...

約20時間 前 | 0

回答済み
Array indices must be positive integers or logical values. Error in untitled4 (line 9) max(num)=0;
The syms is unused by the remainder of the code. You are not validating that the user is entering a scalar positive integer. Y...

約20時間 前 | 0

回答済み
Can i convert a binary matrix to a function?
Yes, you can return a matrix from the function. However, that would be considered multiple objectives, and you would need to use...

約21時間 前 | 0

回答済み
Find the key for vector transformation
You do not want to minimize B-A(KEY): those are vectors and you cannot minimize a vector. A= [25 21.2 0.4 3.5 15 60 14 8.1 16.9...

約21時間 前 | 0

| 採用済み

回答済み
Unable to resolve the name dsp.iFFT
The function name is dsp.IFFT -- upper case I rather than lower case i

約21時間 前 | 0

回答済み
Pick just some elements of a 3Dmatrix and then reshape them in the original size
Assign tuttiE<max(tuttiE) into a variable, and use it to index tuttiE for clusterdata() purposes. Then create an array of zer...

約21時間 前 | 0

回答済み
i want to draw a half staircase sinusoidal curve
Use the Computer Vision insertShape function requesting a 'line' . The coordinates for the line would need to duplicate every m...

約22時間 前 | 0

回答済み
Error using imwrite command
MATLAB cannot automatically determine the image type being requested when you ask for a file name with extension jpg<SPACE> . ...

約22時間 前 | 0

| 採用済み

回答済み
Constrained optimization on a finite set
https://www.mathworks.com/help/optim/ug/optimvar.html#mw_cedf0526-03c6-46b9-aba3-a694d89d1003 shows how to constrain a optimvar ...

約23時間 前 | 1

| 採用済み

回答済み
Converting from floating point to fixed point.
The Fixed Point Toolbox fi() can be used to create a variety of fixed point formats. If you need to match a particular hardwa...

1日 前 | 1

回答済み
Is there a way to simulate a struct with a array?
RTC_C_Calendar = zeros(Rows, 7,'uint32'); Now create variable names like dayOfWeek = 4; and then you can index RTC_C_CAL...

2日 前 | 0

回答済み
Unrecognized function or variable 'max'.
Somewhere in that function, or in a function that the function is nested within, you assigned to a variable named "max". In doin...

2日 前 | 0

回答済み
Hello all, I am getting an error "Dot indexing is not supported for variables of this type."
I do not get that error when I test with R2022b on my system. Which MATLAB release are you using? I did have to make some chang...

2日 前 | 0

| 採用済み

回答済み
How can I use "Epoch" as a variable?
https://www.mathworks.com/help/deeplearning/ref/nnet.cnn.trainingoptionsadam.html#d124e171093 OutputFcn is defined as requirin...

2日 前 | 0

回答済み
How to assign filtered data of tables to new tables and then store them into a data structure?
tab_L1_DV_min(idx_cand_L1,:) = cand_cond_L1(cand_cond_L1.("DV_inters(km/s)")== min(cand_cond_L1.("DV_inters(km/s)")),:); ...

2日 前 | 0

回答済み
Why is my loop not running? (Error using / Matrix dimensions must agree)
cp(1) =(pd*1000)*(M)/((Ru)*(Tp(1)+273)); %[...] cp(i+1) =(p*Kr(i+1)*1000)*(M)/((Ru)*(Tp(i+1)+273)); cp is a matrix. B(i) = (...

2日 前 | 0

回答済み
how to compute random??
while abs(A-0.5)>=tol n=n+1; n=rand; end n appears to be your counter. But you are overwriting n with a random numbe...

2日 前 | 0

回答済み
Reading txt file, finding each string extracting info
If you have the text all within one long string, S, then it will need to be split. But if you used SS = readlines() then you can...

2日 前 | 0

| 採用済み

回答済み
How to create a table from strings and numerical data?
Provided that you already initialized YourTable with variable type string for the first variable and cell for the second variabl...

2日 前 | 0

回答済み
How can I call a value in side the a function which is already evaluated.
It is not possible to do what you want to do using eval(). You will need to rewrite your code.

2日 前 | 0

回答済み
Error Using Abs matlab function: check for incorrect argument data type or missing argument in call to function 'abs'
abs is not supported for optimization variables. However, sqrt and squaring are supported.

2日 前 | 0

| 採用済み

回答済み
Can MATLAB 2020b run on a Surface Pro X or Pro 8
Yes MATLAB should run on the Pro 8. It will not run on the SQ2, or at least not natively; it certainly would not be supported...

3日 前 | 0

| 採用済み

もっと読み込む