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 T0099000; if you are waiting on a reply from me for an older issue, please send me a reminder.

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

Statistics

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

View badges

Content Feed

View by

Answered
I have a Matrix , and I want to multiply this Matrix with something so I can get zeros
null(P1) Note: this may have different number of columns depending on the values in P1. Each column of the result will be inde...

35 Minuten ago | 0

Answered
Matlab warning when using log
axis([0 7*10^5 0 4.77./5]) set(gca,'YScale','log','XScale','log') %this is the reason for all of it. Do not use an axis lim...

etwa eine Stunde ago | 0

Answered
Function readtable: how to insert the value of a variable double in the directory
basedir = fullfile('C:\Users', 'hp', 'OneDrive', 'Project', 'Results'); x = 'rig53'; y = 97; filename = fullfile(basedir, x, ...

etwa 2 Stunden ago | 0

Answered
No constructor 'Stateflow.Annotation' with matching signature found
I confirm that the statement does not work in R2017b, which is the first release that has a documentation page for it. The R201...

etwa 5 Stunden ago | 0

Answered
operations on two different matrices
D0 j=1,8 A(1, j)=D(2,j+1) end do Acol = size(A,2); A(1,:) = D(2,2:Acol+1); vec = DD1(1,:); A1(idx,:) = repmat(vec,numel(id...

etwa 5 Stunden ago | 0

Answered
Can I add display on MATLAB app interface which can showcase error or any statements there itself ?
Sure. As long as you have code that detects the error and updates the display. However, if your question is about somehow "red...

etwa 5 Stunden ago | 0

Answered
Issue with int() function
The int() work out independent of theta. cos() integrated over 0 to 2*pi is sin(2*pi)-sin(0) which is 0.

etwa 22 Stunden ago | 0

| accepted

Answered
vpaintegral() not showing output
You cannot. vpaintegral always gives up immediately when there are unbound variables besides the variable of integration. vpa...

etwa 22 Stunden ago | 0

| accepted

Answered
Live Editor output fractions to decimals
sympref to change the default output style.

etwa 22 Stunden ago | 0

Answered
Compare two strings with some restrictions
In https://www.mathworks.com/matlabcentral/answers/1452949-get-the-last-for-digits-as-the-time-this-message-was-sent#answer_7870...

ein Tag ago | 0

| accepted

Answered
error when using Matlab generated a function for read a file
That error is saying that you tried to run the importfile() function without passing it any file name. Perhaps you just pressed ...

ein Tag ago | 0

Answered
Why is the file size different before and after applying wavelet decomposition and reconstruction to a 1D signal?
If you are comparing the size of a .mat that stores just the original signal, to the size of a .mat that stores just A1 together...

ein Tag ago | 0

Answered
Solving non linear equation "Circle" equations
syms xa ya R3 xc = [0; 40; 100.66]; yc = [0; 0; 49.07]; r3 = 52.59; R = [84.4; 68; R3]; eqn = (xa-xc).^2 + (ya-yc).^2 == R....

ein Tag ago | 1

Answered
cration of contents inside the cell array of uniform size
result = cellfun(@(C) full([(0:7).', sparse(C(:,[1 1])+1, [1*ones(1,size(C,1)), 2*ones(1,size(C,1))], C(:,[2 3]), 8, 2)]), Data,...

ein Tag ago | 0

| accepted

Answered
I want to plot a integral expression but it shows error as "Incorrect dimensions for raising a matrix to a power. Check that the matrix is square" Kindly help me out
syms hw sigma = 8.41/1000000; A = 4*10^(-14); C = 1.2404e+08; t = int((1/((C/sigma)*((sigma*hw)^3+(A)))),hw,0,hw); HW = [2:...

ein Tag ago | 0

Answered
Store data from a a loop
maxrating = 3; AAADowngrade = cell(maxrating,1); l=10; %end rating for rating = 1 : maxrating k = rating+1; %start r...

ein Tag ago | 0

| accepted

Answered
I am having error in this programme. i gave the call function also.
The function you are missing is on PDF page 108 of https://www.researchgate.net/file.PostFileLoader.html?id=5696da346143257e508b...

ein Tag ago | 1

Answered
Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = 2.947558e-19. what dose it mean
https://www.mathworks.com/help/matlab/ref/rcond.html When the reciprocal condition number is very small, then the condition nu...

ein Tag ago | 0

Answered
my code is giving the error "not enough input arguments". How to resolve this error?(matlab2013a)
https://www.mathworks.com/help/matlab/ref/ode15i.html [t,y] = ode15i(odefun,tspan,y0,yp0) That is a minimum of four parameters...

ein Tag ago | 0

| accepted

Answered
How to numerically differentiate provided data?
x = [0,0.375,0.75,1.125,1.5,1.875,2.25,2.625,3]; y = [0,-0.2571,-0.9484,-1.9689,-3.2262,-4.6414,-6.1503,-7.7051,-9.275]; theta...

ein Tag ago | 0

Answered
Solving an equation with multiple variables in MATLAB
syms E h k L Ti Tsurr Ts x eqn = -k*(Ts - Ti)/L - h*(Ts - Tsurr) - E*x*(Ts^4 - Tsurr^4) == 0 sol_implicit = solve (eqn, Ts) s...

ein Tag ago | 0

Answered
Problem in solving a set of 5 odes and getting Nan values
K_M=[0 27 32 0 0]; First K_M is 0. W=6; initial_conditions=zeros(1,W-1); initial_conditions(5)=10; % ug/ml First bou...

ein Tag ago | 0

| accepted

Answered
Matlab Extract images from a subplot in .fig format
fig = openfig( 'IC_01.fig' , 'new' , 'invisible' ); imgs = findobj(fig, 'type' , 'image' ); im_wanted = imgs(4); ax = im_want...

ein Tag ago | 1

| accepted

Answered
IS there any code
https://innovareacademics.in/journals/index.php/ijs/article/view/38553 https://github.com/3point141/Neural-Network-Algorithms ...

ein Tag ago | 1

Answered
How do I read multiple text files and use its data for mathematical Calculation?
ext = '.txt'; %extension of files dinfo = dir("*" + ext); filenames = {dinfo.name}; nfiles = length(filenames); all_data = ...

ein Tag ago | 0

Answered
Cos^2(2theta) 3d polar graph in MATLAB
%0=<theta=<90 and 0=<phi=<360 [Theta, Phi] = meshgrid(linspace(0,90,361), linspace(0,360,361)); %cos^2(2theta) R = cosd(2*The...

ein Tag ago | 1

Answered
How to load matlabFunction output into Simulink
When you use matlabFunction(), give it the 'file' option to write the code into a file. After that, you can use the file name as...

ein Tag ago | 0

Answered
Check range for power function
When you use fi, the power must be a positive integer scalar. Also, log(A) does not appear to be supported so you cannot use t...

2 Tage ago | 0

Answered
Unable to find explicit solutions to an equation
There is no closed form formula for that.

2 Tage ago | 0

| accepted

Answered
Is it possible to create programmatically a Simulink-Model with a Runtime?
No -- and it would be against the license terms if you found some way to do it. If I recall correctly, you can do parameter tun...

2 Tage ago | 0

| accepted

Load more