Community Profile

photo

VBBV


Last seen: Today

PEC

654 total contributions since 2017

Programming in MATLAB applied to interdisciplinary engineering fields

Contact

VBBV's Badges

  • 6 Month Streak
  • Thankful Level 3
  • Knowledgeable Level 4
  • Pro
  • MATLAB Central Treasure Hunt Finisher
  • Promoter
  • Revival Level 3
  • Solver
  • First Answer
  • Personal Best Downloads Level 2
  • First Review
  • 5-Star Galaxy Level 1
  • First Submission

View details...

Contributions in
View by

Answered
Turning a 2x80 to an 80x80
%if true A = rand(2,80); AA = zeros(78,80); AAA = [A;AA];

etwa 5 Stunden ago | 0

Answered
Error: File: Untitled8.m Line: 7 Column: 1 At least one END is missing: the statement may begin here.
%if true X = load('diabetes_dataset.csv'); W1 = rand(3,4); W2 = rand(1,3); b1 = rand(3,1); b2 = rand(1,1); y = [ones(1,5...

etwa 6 Stunden ago | 0

Answered
how can I Compute the value of d for the following values of x , Outcome equation d=((34.63/x)-5.126)/2.54
%true d = []; for x=[0.1000,0.1500,0.2000] d=[d ((34.63/x)-5.126)/2.54]; disp ("ANSWER"); end x=[0.1000 0.1500 0.2000];...

etwa 22 Stunden ago | 0

Answered
FZERO error with matrix dimensions
%if true A = (1-((1-nu)*(1-alpha))).*(((1-nu)*(1-alpha))/w).^(((1-nu)*(1-alpha))/(1-((1-nu)*(1-alpha)))); xld = (sum(mean(((...

ein Tag ago | 0

Answered
Storing Value From For Loop
%f true value = 2200; for n=1:15 V(n) = value*1.04^n end

ein Tag ago | 1

Answered
Code with function file not working
%if true P = X*(1+r/100).^t Change this line by adding operators

ein Tag ago | 1

| accepted

Answered
How to call two sets of arrays in a nested loop?
%if true a=45; x1=1:.02:6; alpha=x1.^4; t = 0:(pi/360):2*pi; %rray=zeros(251,721); p = 0:(pi/360):2*pi; K = 1:0.02:...

ein Tag ago | 0

| accepted

Answered
Index exceeds array bounds; transfer function model.
%if true syms('s')

3 Tage ago | 0

Answered
2D line graph plotting from calculations
%if true i = 1; while s >= stop_height t(i) = sqrt(2*h/g) s = u*t + 0.5*a*t*t; bounce_height(i) = COR*COR*h h(i) = b...

3 Tage ago | 0

Answered
FSOLVE requires all values returned by functions to be of data type double.
%f true [a,b,c,d,e]=fsolve(F,[0 0 0 0 0]) Try this

3 Tage ago | 0

Answered
Check for incorrect argument data type or missing argument in call to function 'lsim'.
%if true sys = ss(A,B,C,D); lsim(sys,u,t); Use a state space transform function

3 Tage ago | 0

Answered
Matrix construction over a loop
clear x=[1:1:10]; a=2; b=4; c=6; for i=1:length(x) A(i)=a*b/x(i); B(i)=c+A(i)/b; D=a+b; E=1-2*c; MAT(i,:)=[B(i);D;E]; ...

5 Tage ago | 1

| accepted

Answered
How to access alternate elements from a matrrix?
%if true for i=1:n% change this increment L(i)=a(1,i+2)-a(1,i); end You are incrementing the loop and also stepp...

5 Tage ago | 0

Answered
Index exceeds the number of array elements (1).
do=sqrt(Efs/Emp); %distance between cluster head and base station for i=1:1:n %do(i)=sqrt(Efs/Emp); %distance betw...

5 Tage ago | 0

| accepted

Answered
Warning: Error updating FunctionSurface. The following error was reported evaluating the function in FunctionLine update: Unable to convert expression into double array.
%f true Ta = symsum(80*((1-(-1).^n)./(n*pi)).*sinh(n*pi*(0.4-y)./0.3).*sin(n*pi*x/0.3)./sinh(n*pi*0.4/0.3),n,1,Inf); Tb ...

5 Tage ago | 0

| accepted

Answered
How to plot negative values while using loglog plots?
b = 1:10; a = logspace(-1,6,length(b));%[ 1 2 3 4 -1 -1 -3 -4 5 6 ] loglog(b,a,'-o')

5 Tage ago | 0

Answered
Quiver
[T,Y]= meshgrid (-2:.2:2 -2:.2:2); S= (Y.^2)-(T*Y); [px py] = gradient(S,0.2,0.2); quiver(T,Y, px, py, 1) % automatic scalin...

5 Tage ago | 0

Answered
Solving is taking infinite time
%if true for x=1:numel(X) double(X(x)) end

6 Tage ago | 0

| accepted

Answered
Issue with solving an equation
%if (3500*sqrt(x/30))./(1.4*sqrt(x/30)+0.115*x-276) Missing element wise operator

6 Tage ago | 0

| accepted

Answered
How can I store the result after each iteration in a row vector?
%if true Ad = [1 2]; Ac = [1 2 3 4]; for i=1:length(Ac) for j=1:length(Ad) As(i,j)=Ad(j)+Ac(i); en...

6 Tage ago | 0

Answered
what is the problem with this code gauss siedel . Only processing one solution but it should be twenty solutions
%if true for j=1:i-1 sigma=sigma+A(i,j)*x(j); end Check this for loop index

6 Tage ago | 0

Answered
From the given matrix(6 X 4) how to form a new matrix (12 X 10)
Try using _sparse_ function

6 Tage ago | 0

Answered
Help with Lagrange Interpolation: How can I graph the polynomial of my data sett?
%f true u = 1880:2020:12.25; What is this array intended for ? It seems different from.others

6 Tage ago | 0

Answered
Summing using simspons rule for a given range
%f true if f(x)>10 f(x) = 0 else ... % rest of code end Try this

7 Tage ago | 0

Answered
Expanding a matrix with for loop
%f true A = repmat(alfa,40,1) A is your expanded matrix

7 Tage ago | 0

Answered
Different line types for multiple curves
%f true figure; p = plot(x, y); set(p, {'LineStyle'},{'-';'--';'-';'--'},{'color'}, {'r'; 'r'; 'b'; 'b'});

7 Tage ago | 2

Answered
Index exceeds the number of array elements (8000).
%if [signal, fs] = audioread('DialedNumber.wav'); What is the size of _signal_?

7 Tage ago | 0

Answered
how to change the e+00 format
%f true index = [7.8651e+04;177445] uint64(index)

7 Tage ago | 1

Answered
Surface plot without contour lines?
Try _mesh_ function

7 Tage ago | 0

Answered
How can I give main title for multi-graphs?
%if true sgtitle('your title')

8 Tage ago | 1

| accepted

Load more