Community Profile

photo

Walter Roberson


Last seen: Today Active 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. 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 2023
  • Most Accepted 2022
  • Solver
  • First Review
  • Most Accepted 2021
  • Roberson Cup
  • Most Accepted 2019
  • Most Accepted 2018
  • Most Accepted 2017
  • 36 Month Streak
  • Most Accepted 2016
  • Most Accepted 2015

View badges

Content Feed

View by

Answered
How do I delete bytes from the end of a binary file?
Unfortunately MATLAB does not support any truncation operations for files.

17 hours ago | 0

Answered
ERROR during opening file in matlab2021b
You need to rename or delete your Documents\MATLAB\length.m file, as it is interfering with calling MATLAB's built-in length fun...

1 day ago | 0

| accepted

Answered
I want to download Matlab 2019or 2021 or 2020 for my macOs monterey 12.6
If the dropdown is stuck at R2024a then you are not logged in as a licensed MATLAB user. (Or possibly you are a student user an...

1 day ago | 0

Answered
How can I implement the Matlab code(Not Simulink) to the Parrot Mambo Drone?
You would need to use something like Embedded Coder for this. You will not be able to take advantage of anything in the support ...

5 days ago | 0

| accepted

Answered
I have the R2023a Matlab file but the command window script is in R2023b and R2024a so how could I open it in the R2023a version
You do not need to do anything special. .m files are plain text files, and so are fully compatible for opening between release...

5 days ago | 0

Answered
I got Inf when calculating 13959^475, how can I solve this problem?
c=13959; mod(sym(c)^475, 20711) powermod(c, 475, 20711) which powermod powermod() needs the symbolic toolbox

5 days ago | 0

| accepted

Answered
I could not display all the legends related to the plotted bars
When y is an array, then one legend entry is created for each column of y When y is a vector, then one legend entry total is cr...

5 days ago | 0

Answered
Is there a MATLAB's supercomputer the registered user can use to run numerical simulations?
You can use Amazon Web Services, or Azure https://www.mathworks.com/solutions/cloud.html

6 days ago | 1

Answered
How can I simulate an ultrasonic sensor in combination with 4 MEMS microphones
Depending on the exact MEMS device, you will need to connect the MEMS to either an I2C or a digital input pin, of a device such ...

7 days ago | 0

Answered
Failure in initial objective function evaluation. LSQNONLIN cannot continue.
%%%% code for biggest astroid possible %%% This example shows how to do the inverse kinematics for a 2 link manipulator and do ...

7 days ago | 0

| accepted

Answered
Plot multiple maps with transparency using raster data
% load the 3-D data load var_slice.mat load lat.mat load lon.mat % plot for K = 1 : size(var_s...

7 days ago | 1

Answered
Error using horzcat Dimensions of arrays being concatenated are not consistent
test = readtable('test.csv'); col_test = [(double(test.u_id(:))), test.score(:)]; %remove 1st entry col_test_update = col_t...

7 days ago | 0

| accepted

Answered
Use for loop to assign zeros function to a variable size array
Nz = 200; number = 4; IC = zeros(number, Nz*2);

7 days ago | 0

Answered
How to create a series of separate tiff files?
Your filename includes a colon . colon is not a valid character in a filename for Windows (other than for drive letter) or MacOS...

8 days ago | 0

| accepted

Answered
estgeotform2d Not all transformType arguments are available?
You are looking at the R2024a documentation, but you are using R2023b. (That and the fact that the R2024a documentation misses ...

8 days ago | 1

| accepted

Answered
error using importONNXNetwork, importONNXNetwork cannot be called from compiled applications.
The issue is that you are not permitted to call importONNXNetwork in a compiled application. You have to break the code into tw...

8 days ago | 0

| accepted

Answered
Get UI object name
No. You are working with handles, and there are multiple names for the same handle. You can chase the Parent property to get the...

8 days ago | 0

Answered
How to implement new Latex Font in matlab?
There is no way (documented) to add latex fonts to most of MATLAB. There used to be an obscure way it could be done, but that wa...

9 days ago | 0

Answered
"Your license will expire in 12 days" appears. Even though I tried "/matlabcentral/answers/100222-why-do-i-receive-a-message-that-matlab-will-expire-in", the same appears
There is nothing you can do about this. The prerelease is going away soon. The official R2024a release will be pretty soon -- p...

9 days ago | 0

Answered
Help with making parfor loop work
First of all, you are permitted only one assignment into a variable indexed by your parfor loop. Having symTable(ii,1) = {curre...

9 days ago | 0

Answered
Is there a way to terminate integration when multiple events are triggered simultaneoulsy?
Adjust the isTerminal flag as all(TheExpressions < 0) or as appropriate.

9 days ago | 0

| accepted

Answered
Help (f1) opens an empty window (R2023b)
It is probably worth experimenting with configuring the documentation to be stored locally. Preferences -> Help -> MATLAB Help ...

9 days ago | 1

| accepted

Answered
Error using fittype for model evaluation
You cannot use nonscalar coefficients in the fit model. Your Fe2_plus and so on are nonscalar. The computing model is that the ...

9 days ago | 0

Answered
Error (Unable to perform assignment because value of type 'sym' is not convertible to 'double'.)
PcT = zeros(length(thresh)); PcT is assigned as numeric zeros. F1 = int( PL(w)*f(w) * (1/(1+ U(T) * PA * B(i) * w^(-...

10 days ago | 0

Answered
Convert series of analytical solutions to matrix vector format
syms x I E0 B l C3 C4 C5 F kt V1 = int(1/2 * I * E0 * (1 + (B-1) * x/l) * (2*C3 + 6*C4*x + 12*C5*x^2)^2, x, 0, l); V2 = int(...

10 days ago | 0

| accepted

Answered
Error using symengine Unable to convert expression containing symbolic variables into double array. Apply 'subs' function first to substitute values for
axes clear clc close all format short g ndofn = 3; % number of degrees of freedom per node % each number corresponds to a ...

10 days ago | 1

| accepted

Answered
Error using Fseek. Invalid filer identifier, use fopen to generate a valid file identifier.
You attempt to open 45C.fid/fid but 45C.fid does not exist as a folder -- existing folder is 45temps.fid and 45meas.fid You sho...

11 days ago | 0

| accepted

Load more