# 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 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**

RANK**1**

of 242 659

REPUTATION**115 450**

CONTRIBUTIONS

**34** Questions

**52 341** Answers

ANSWER ACCEPTANCE **
52.94%
**

VOTES RECEIVED**14 809**

RANK

of 16 974

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

**Content Feed**

find the values of a variable for which the determinant of the matrix become zero?

syms w real a = 2e-3; X = 150-3; h = 20e-3; b = 20e-3; A = b*h; l = 500e-3; I = (b*(h^3))/12; p = 2700; E= 69e9; v12 =...

ungefär 5 timmar ago | 0

Removing one length from a matrix

C = A .* reshape(B, size(A,1), size(A,2), size(A,3), []); This assumes element-by-element multiplication, not matrix multiplica...

ungefär 6 timmar ago | 0

| accepted

code is giving error ,unable to get output graphs...

This is closer. I had to speculate about what the validation was intended to do, and about what proper coordinates were. There...

ungefär 6 timmar ago | 0

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...

ungefär 7 timmar ago | 0

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...

ungefär 8 timmar ago | 1

| accepted

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, ...

ungefär 8 timmar ago | 0

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...

ungefär 11 timmar ago | 0

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...

ungefär 12 timmar ago | 0

| accepted

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...

ungefär 12 timmar ago | 0

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.

en dag ago | 0

| accepted

vpaintegral() not showing output

You cannot. vpaintegral always gives up immediately when there are unbound variables besides the variable of integration. vpa...

en dag ago | 0

| accepted

Live Editor output fractions to decimals

sympref to change the default output style.

en dag ago | 0

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...

en dag ago | 0

| accepted

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 ...

en dag ago | 0

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...

en dag ago | 0

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....

en dag ago | 1

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,...

en dag ago | 0

| accepted

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:...

en dag ago | 0

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...

en dag ago | 0

| accepted

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...

en dag ago | 1

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...

en dag ago | 0

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...

en dag ago | 0

| accepted

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...

en dag ago | 0

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...

en dag ago | 0

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...

en dag ago | 0

| accepted

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...

en dag ago | 1

| accepted

IS there any code

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

en dag ago | 1

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 = ...

en dag ago | 0

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...

en dag ago | 1

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...

en dag ago | 0