Walter Roberson
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.
C, MATLAB, Shell, Perl, Fortran
Spoken Languages:
English
Statistics
RANK
1
of 289,736
REPUTATION
135,532
CONTRIBUTIONS
37 Questions
59,903 Answers
ANSWER ACCEPTANCE
48.65%
VOTES RECEIVED
18,238
RANK
of 19,580
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
when i try to integrate the function it keeps giving me an error
ao=(int(sym(3),0,0.01)+int(sym(-3),0.01,0.02))
17 hours ago | 0
Unable to perform assignment
t=5; syms u10 u9 u8 u7 u6 u5 u4 u3 u2 u1; syms x10 x9 x8 x7 x6 x5 x4 x3 x2 x1; syms y10 y9 y8 y7 y6 y5 y4 y3 y2 y1; a12 =...
18 hours ago | 0
| accepted
TerminalConfig error for Matlab 2015a
The session interface begins with daq.createSession and sessions do not have a TerminalConfig property https://www.mathworks.co...
1 day ago | 0
Add lines of text to CNC programming code
filename_in = '10267.TAP'; [filedir, basename, ext] = fileparts(filename_in); filename_out = fullfile(filedir, basename + "_...
1 day ago | 0
Digital Image Corrupted by AWGN
lenna = imread('lenna.pgm'); lenna_bin = reshape(dec2bin(lenna(:), 8).' - '0', 1, [])'; lenna_bin reflects the size of lenna i...
1 day ago | 0
Why do i get this error? "Unrecognized function or variable 'prop'."
You are trying to invoke Export_SolidWorks_v18 passing in the single undefined parameter prop . prop is undefined. There is no ...
1 day ago | 0
| accepted
How can I reduce the execution time of my code?
for i = 1:m-1 for j = 0:(i - 1) for k = 1:(2^j + 1)-1 if i == 2^j + k - 1 fprintf('F...
1 day ago | 0
Textualizing VPA array with compose() seems to be broken?
compose with symbolic parameters is the function composition operation, not an operation for producing text
5 days ago | 0
How to Generate Subscripted Arrays in Live Scripts
You cannot get a formatted output of When you have an assignment such as Z_a = sym('z', [1 3]) then the display never form...
5 days ago | 0
Raspberry Pi 5 Setup - MATLAB Support Package
In R2021b, https://www.mathworks.com/help/releases/R2021b/supportpkg/raspberrypiio/ug/install-support-for-raspberry-pi-hardware....
9 days ago | 0
It is showing error tht switch expression must be a scalar or a character vector.
[net_ga, ~] = ga(@(x)train_neural_network(x, inputs, targets, hiddenLayerSize), net.numWeightElements, ga_opts); You cannot pas...
12 days ago | 0
| accepted
Error during contour plot
the first parameter to contourf is the x data, which corresponds to *columns*. the second parameter to contourf is y data which ...
14 days ago | 0
| accepted
How can I run multiple symbolic functions simultaneously
In order to run three symbolic functions simultaneously, you can use a background pool and parfeval() the execution of each of t...
18 days ago | 0
Fastest way of opening a text file and converting it to a matrix?
If your file happens to be just a rectangular block of numbers, with either blank or comma between them, then the fastest approa...
21 days ago | 0
Is MATLAB 100% reliable? Do the users need to modify it according to their usage? I need this for my presentation in class. Thank you!
MATLAB has not undergone formal proof of correctness, so it is not 100% reliable. (There are not many mathematical software p...
21 days ago | 0
How do I delete bytes from the end of a binary file?
Unfortunately MATLAB does not support any truncation operations for files.
22 days ago | 0
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...
23 days ago | 0
| accepted
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...
23 days ago | 0
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 ...
26 days ago | 0
| accepted
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...
26 days ago | 0
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
26 days ago | 0
| accepted
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...
26 days ago | 0
warning all the time, don't know what is wrong
The 0^n and 0^(m-1) occur because there are not constraints on m and n, so there is the possibility that 0^0 is being generated,...
28 days ago | 0
How to import multiple csv files into a single appropriate data structure for processing and plotting
Use outerjoin
28 days ago | 0
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
28 days ago | 1
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 ...
29 days ago | 0
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 ...
29 days ago | 0
| accepted
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...
29 days ago | 1
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...
29 days ago | 0
| accepted
Use for loop to assign zeros function to a variable size array
Nz = 200; number = 4; IC = zeros(number, Nz*2);
29 days ago | 0