Community Profile

photo

VBBV


Last seen: 3日 前

PEC

756 2017 年以降の合計貢献数

Programming in MATLAB applied to interdisciplinary engineering fields

連絡する

VBBV's バッジ

  • 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

詳細を表示...

貢献した分野
表示方法

回答済み
how can i plot this equation?
%if tr syms x y f = y^3+0.2*exp(-1*x^2)*y^2-2.2039*y^2+0.8155 == 0; fimplicit(f,[-4 4])

5日 前 | 0

| 採用済み

回答済み
How to rotate a figure around an origin that is rotating?
close all, clc, clear %% 1: Generating Data ang = linspace(0,2*pi,50); % Angle from 0 to 2pi % Data to draw black fixed circ...

13日 前 | 0

回答済み
How can I introduce the break in the plot?
%if T1 = rand(1)*1.01*(85:95) T2 = rand(1)*1.01*(75:85) x1 = 1:11; x2 = 13:23 plot(x1,T1);hold on;plot(x2,T2) Extract...

21日 前 | 0

回答済み
Plotting content from structure
sges.location1 = 1; sges.location2 = 2; sges.location3 = 3, sges.location4 = 4; sges.location5 = 5; sh.location1 = 4; sh...

26日 前 | 0

| 採用済み

回答済み
Why my plotting curves exceed the loop index?
what is the size of depr(i,:) matrix ?

27日 前 | 0

回答済み
How to solve "brace indexing is not supported for variables of this type" for this code?
%if true for s=1:19 % change the for loop index fprintf("%d\n",number(s)) end Change the _for loop_ index as shown

27日 前 | 0

回答済み
How do I plot 3d graph ?
%if true Z = repmat(z,1,length(X)) surf(X,Y,Z) Z is your density data

28日 前 | 1

回答済み
Array indices must be positive integers or logical values.
for i = 2:100 El1(i) = Elev1(i-1) - (Db1 - Da1); end if you want Elev1(i-1) to be computed one value before, otherwise us...

28日 前 | 0

回答済み
Vectors -Must- be the same length
dt= 1.3 %time change %r=1e-7 r=5e-8 a=0.05 %b=a*0.01 b=a*0.04 S0=8419000. R0=0 I0=100 tmax=120 %number of days popscal...

28日 前 | 0

回答済み
Please amend my code :(
%if clear all close all grav=9.81; theta=pi/4; v=20; x=0; vx=cos(theta).*v; y=0; vy=sin(theta).*v; dt=0.05; for v=...

29日 前 | 0

回答済み
Common xlabel and ylabel in a subplot of a subplot
x=sin(linspace(1,10)); % Set randomly for the example. figure(1); t=tiledlayout(4,4,'TileSpacing','normal','Padding','compact...

29日 前 | 0

| 採用済み

回答済み
Issue with sine graph
%if true %Oblique Balance Script figure('Name','Team A Graphs'); clf; %%Weight Ratio subplot(2,1,1) t=[0:0.01:180]...

29日 前 | 0

回答済み
Array indices must be positive integers or logical values.
%if true f(i)=min{f(j)+t(i,j)};

約1ヶ月 前 | 0

| 採用済み

回答済み
system of ordinary differential equations of the second order (Apollo's coordinates for the problem of three bodies)
%if true f=@(t,z) [z(2);2*z(4)+z(1)-(mi_ast*(z(1)+mi)/(r1(3)))-(mi*(z(1)-mi_ast)/(r2(3)));z(4);-2*z(2)+z(3)-(mi_ast*z(3)/r...

約1ヶ月 前 | 0

回答済み
error in codind a rayleigh distribution
%if true %rayleigh distribution f = @(x) (2*(4-pi)/(4*var_x))*(x).*exp(-1*(x.^2)*(4-pi)/(4*var_x)); % cumulative Rayleigh...

約1ヶ月 前 | 0

回答済み
Error in loading all the files in folder into code to run it on all files
%f true imagefilepath=strcat('../../images/images_','/Users/apple/Documents/MSCPROJ/database/','/',data(i),'_','/Users/apple/...

約1ヶ月 前 | 0

回答済み
Saving the outputs of multiple runs of a script
%if Count = 0.1:0.1:0.9; for correlation=1:length(Count) Change this line in _for loop_ and run it.

約1ヶ月 前 | 1

| 採用済み

回答済み
Polarplot for loop with subplots
%if true lambda = 1; t =(2*pi)/(1*10^100):(2*pi)/1000:2*pi; %theta; lambda = 1; k = [0.25 0.5 1 1.4 2 2.5]; for i = 1:le...

約1ヶ月 前 | 0

| 採用済み

回答済み
How to convert this 'out_17-May-2021.xlsx' into 'out_20210517.xlsx'?
%if true k = datestr(filename(5:15),'yyyymmdd') strcat(filename(1:4),k,filename(16:20)) You can use filename to reconst...

約1ヶ月 前 | 0

回答済み
Change linewidth of marker in legend
close all clear clc figure(1) p1 = plot([1,2,3,4,5,6],[5,4,6,2,4,9],'Marker','o','MarkerSize',2,'MarkerEdgeColor','r', 'Li...

約1ヶ月 前 | 0

回答済み
finding roots of equation
%if true syms x; equation=0.5*(x-2)^3-40*sin(x)==0; sol=vpasolve(equation,x,[2 4]);

約1ヶ月 前 | 0

回答済み
how to plot phase and magnitude
%f true H = tf([1 0],[1 1]) w = -10*pi:10*pi; bode(H,w) BTW you need control system toolbox

約1ヶ月 前 | 0

回答済み
How to fix the Index exceeds array dimensions ,Index value 2 exceeds valid range [1-1] for array 'Hv'
%if true h = ones(350,1); for i=1:350 if Hx*h(i)+Hv*h(i)<=(1-e)*s %first row of constriant not statisfied , k wil...

約1ヶ月 前 | 0

回答済み
For loop assignment error
%f true %f true Axz = zeros(14002,4); for i=1:2:length(Axz)-1 Axz(i:i+1,:) = [dxx,dxx_,dxz,dxz_;dzx,dzx_,dzz,dzz] en...

約1ヶ月 前 | 0

回答済み
How do I declare a for loop with a given number of elements?
%if true R = linspace(0,0.03,100) for j=1:length(R) .. end

約1ヶ月 前 | 0

回答済み
how to convert decimal values into 8bit binary sequence
%if true for i = 1:length(A); iwant{:,i} = dec2bin(A(i,:)); end This results in a 1x14 cell array converted to binary...

約1ヶ月 前 | 0

| 採用済み

回答済み
How I can append matrices of different dimensions in another matrix?
%if true A = randi(10, 3, 1) B = rand(4, 1) C = randi(10,5,1) D = horzcat(A.',B.',C.') For _horzcat_ use transpose...

約1ヶ月 前 | 0

回答済み
How to construct this matrix without using two for loops?
%if true A = V'.* X.*V;

約1ヶ月 前 | 0

回答済み
graph won't appear
%if true zi = 0.2; % define the value of dam r = 0:0.05:10; % define the range T = sqrt(1+(4*(zi^2)*(r.^2)))./ sqrt(((1-...

約1ヶ月 前 | 0

回答済み
nested if-else inside nested if-else
%if true function output = blur(img,w) img(:) = double(img(:))+1; [row col] = size(img); output = zeros(row, col); fo...

約1ヶ月 前 | 0

Load more