Community Profile

photo

VBBV


Last seen: Today

PEC

439 total contributions since 2017

Programming in MATLAB applied to interdisciplinary engineering fields

Contact

VBBV's Badges

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

View details...

Contributions in
View by

Answered
Change the color of the empty area of uitable
uit = uitable(uifigure,'Data',rand(10,3),'BackgroundColor',[0.85 0.85 1]) See this ref for additional info https://in.mathwor...

ungefär 6 timmar ago | 0

Answered
Index loop into matrix
triCoord= zeros(10,9); ntri = 10 qTop = zeros(ntri,3); for n=1:ntri qTop(n,:) = [mean(triCoord(n,[1 4 7])),mean(triCoord(n...

ungefär 6 timmar ago | 0

| accepted

Answered
How can I plot graphs of the following variables?
%Program to solve the Euler equations clear all; clc; %Time Step h = 0.01; %Key Parameters mb = 100; %Mass of Quarter ...

ungefär 6 timmar ago | 0

| accepted

Answered
define an equation on Matlab
yy = @(t) y(t)+y(t-1)+y(t-2)-u(t-1)-u(t-2)-e(t) == 0

ungefär 7 timmar ago | 0

Answered
How to plot e^(-2n)
n = 1:10; plot(exp(-2*n),'-o','linewidth',2) grid on

ungefär 7 timmar ago | 0

Answered
Index exceeds the number of array elements (0).
%true prompt= 'Enter theta1 value'; A = input(prompt); prompt = 'Enter phi1 value'; B = input(prompt); prompt= 'Enter ...

ungefär 7 timmar ago | 0

| accepted

Answered
Pie chart help grouping
<https://in.mathworks.com/help/matlab/ref/pie.html> Use the above resource

ungefär 8 timmar ago | 0

Answered
User Defined Functions calling
>>try6 x = 0.10 f(x) = 12.3200 x = 0.20 f(x) = 12.6800 x = 0.30 f(x) = 13.0800 x = 0.40 f(x) = 13.5200 x = 0.50...

ungefär 11 timmar ago | 0

Answered
Adding shade to specific parts of contour plots
contour(X,Y,Z) hold on patch(X,Y,C) % define the regions with definite colors you want, i.e. gray, white Use only contour a...

ungefär 15 timmar ago | 0

Answered
Getting the right colorbar to show in plot
h1 = plot3(Evlon,Evlat,-Evdep,'o'); hold on h2 = plot3(Stalon,Stalat,-Stadep,'rv'); grid on hold on for i=1:length(Evlon) ...

ungefär 15 timmar ago | 0

Answered
Plot multiple surfaces on same plot with different color for each surface
h1 = subplot(311) surf(peaks) colormap(h1,spring) shading interp colorbar h2 = subplot(312) surf(peaks) colormap(h2,winte...

ungefär 16 timmar ago | 0

Answered
Color from surf and colorbar doesn't match
surf(x,y,z) shading interp use shading interp for the surf plot

ungefär 17 timmar ago | 0

Answered
to obtain contour plots
hold on; [m,n]=meshgrid(-500:500,-500:500); p=(((m+299).^2)/5814.25+((n.^2)/2517.2)); contour(m,n,p,10); hold on %%%%%...

ungefär 17 timmar ago | 0

Answered
How can I save only the values that work?
w = [40+wstep:wstep:50]; k2 = [1:1:100000]; for i = 1:length(m2) X =@(w,k2) abs(((k2-m2(i).*w.^2).*F0)./((k1+k2-m...

ungefär 18 timmar ago | 0

| accepted

Answered
Dashed lines showing up Solid
plot(TDCases1(:,1), f_TD,'--k') hold on % use hold on between two plots [sortedDS, sortIds] = sort(DSCases1(:,1)); plot...

ungefär 18 timmar ago | 0

Solved


Find max
Find the maximum value of a given vector or matrix.

ungefär 19 timmar ago

Solved


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

ungefär 19 timmar ago

Solved


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

ungefär 19 timmar ago

Solved


Create a vector
Create a vector from 0 to n by intervals of 2.

ungefär 20 timmar ago

Solved


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

ungefär 20 timmar ago

Answered
creating several bar charts with standard deviation
clear xmean = rand(1,4)*3 xstd = rand(1,4) ymean = rand(1,4)*4 ystd = rand(1,4)*0.7 % in one figure subplot(1...

ungefär 21 timmar ago | 0

Answered
Why matlab reading data from csv file completely different ?
The data in 2nd column of your csv file is treated as text since it was not pasted to excel file correctly, See the attached fi...

en dag ago | 2

| accepted

Answered
Index in Position 1
%Lab 8 %Jack Philibotte %-------------------- %Polynomial Interpolation x= [15, 20, 25, 30]; y= [1476.77, 1482.19, 1496.69,...

en dag ago | 0

| accepted

Answered
Spherical coordinates to cartesian
mesh(phi0rad,theta0rad,(abs(rho.'))) colorbar xlabel('\phi') ylabel('\theta') shading interp %% [az, el]=meshgrid(phi0ra...

2 dagar ago | 0

Answered
Filtering data in matrices
AA(AA<1|AA>2) = []

2 dagar ago | 1

| accepted

Answered
Need to read data from .dat file(mdf 3 tgt 15) in Matlab
You can use load function to import data or readtable to read and import data to workspace You dont have to rename it to csv ...

2 dagar ago | 0

Answered
Why is my plot not showing?
%rue clc; close all; clear all; %%Periodic Signal: Parameters A = 6; T = 10; Co = 0; %%Obtain distance between times ...

2 dagar ago | 0

| accepted

Answered
Double sum - vector (matrix) solution
<https://in.mathworks.com/matlabcentral/answers/509120-double-summation-in-matlab> Refer the solution in the above link

2 dagar ago | 0

Answered
How to write exponential integral in equation?
%if true syms U N r = log2(2.7182)*exp(N/U)*expint(N/U)

2 dagar ago | 0

Solved


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

2 dagar ago

Load more