Community Profile

photo

Vasishta Bhargava


Last seen: Today

PEC

177 2017 年以降の合計貢献数

連絡する

Vasishta Bhargava's バッジ

  • Knowledgeable Level 3
  • Solver
  • Revival Level 2
  • First Answer
  • Personal Best Downloads Level 2
  • First Review
  • 5-Star Galaxy Level 1
  • First Submission
  • Thankful Level 2

詳細を表示...

貢献した分野
表示方法

回答済み
The degree of function is unknown
Do you mean this expression ? % if true % code % end syms x a Q=5*x^2 + a; polynomialDegree(Q) ans = ...

5分 前 | 0

回答済み
Error from Volumetric Flowrate using Pressure Sensor & Arduino
c = c*c; this value gets bigger each iteration in loop , instead use square directly in volume flow rate eqn vf = a1 * sqrt...

約1時間 前 | 0

回答済み
The degree of function is unknown
use symbolic function toolbox, syms x a Q=5*x^(2+a) polynomialDegree(Q)

約3時間 前 | 0

回答済み
Cos function with Array
cosine function takes inputs in radians, you need to multiply with pi/180, Both results are same, see below c = 1.5708; d =...

約4時間 前 | 0

回答済み
plot a 3D function with changing variables
Use mesh function for better intrepretation y = linspace(100,300,4) v = [0 0.1 0.3 0.5] [v y] = meshgrid(v,y) mesh(v,y,f);

約6時間 前 | 0

回答済み
How to turn off text interpreter when plotting timeseries objects
Use a space and backslash between ABC _ DEF when interpreting variables. Latex treats text after _ subscript ts = timeser...

約8時間 前 | 0

回答済み
Matlab fplot not working
Here is the change you need to look at in your code, then run again, function v = solv(x) S = 28; r = .04; o ...

約8時間 前 | 0

回答済み
How to plot an equation that uses multiple files of data
I see the graph with log scale on x axis See the code clear all; clc; load freq1.txt; load Rzero1.txt; load Lzero1.txt;...

約16時間 前 | 0

| 採用済み

回答済み
NUMERICAL INTEGRATION USING SIMPSONS
In the for loop use % if true % code %end y(k) = f1(k); Use a space btw @(x) ((1-x) ...) for the anonymous f...

約18時間 前 | 0

回答済み
Plot columns against each other depending on user input from imported excel file.
See the solution in the below link <https://in.mathworks.com/matlabcentral/answers/621968-need-help-plotting-things-from-a-ta...

約18時間 前 | 0

| 採用済み

回答済み
Unable to perform assignment because the left and right sides have a different number of elements.
%if true % code %end for i = 2: 21 IRF_y1(i)= c +phi *IRF_y1 (i-1); end Then plot it again to see the result.

約18時間 前 | 0

回答済み
How to plot this phase gradient function?
The results are not accurate, but you can work with wavlength and frequency vectors to workaround the shapes on left and right ...

約20時間 前 | 0

回答済み
How to plot this phase gradient function?
The equation you are using may not be right one. In the figure phase 2.jpg, there is an eqn lgend . ?? May be you should try t...

約24時間 前 | 0

回答済み
Multiplication of very large 2D and 3D matrices
Use symsum function for summing series https://in.mathworks.com/help/symbolic/symsum.html

1日 前 | 0

回答済み
Cannot view plotted graph after running script
It runs without errors. Are you showing right figure window ? Is it figure window generated by another script with an error ...

1日 前 | 0

回答済み
Setting up a Deflection Plot
Try this, the way to plot F vs deflection clearvars clc r = 0.005 ; % [m] radius of bar P = 0.4; % [m] load app...

2日 前 | 0

回答済み
a circle is divided using 2 by inscribing 2 circles how can we divide three regions obtained from it into equal 15 zones
See the fig attached, is the same figure you want, if i understand it right N = 4; % divides to 4 parts N1 = 10; a = lins...

2日 前 | 0

| 採用済み

回答済み
a circle is divided using 2 by inscribing 2 circles how can we divide three regions obtained from it into equal 15 zones
Try this . it works , change the value of N to number of equal parts you want N = 15; % divides to 15 parts a = linspace(0...

2日 前 | 0

回答済み
fluid mechanics: cylindrical flow in elliptical vortex
use the quiver plot to evaluate stream function, see resource below https://in.mathworks.com/help/matlab/ref/quiver.html

2日 前 | 0

回答済み
How to customize Legends?
Try this.. use handle structure as below figure p1 = plot(datax1,datay1 , 'ro') hold on plot(datax2,datay2, 'ro') plot(data...

2日 前 | 0

| 採用済み

回答済み
generate wind rose with frequencies
Use the polarplot version or polarhistogram functions whichever is applicable clearvars clc close all ws1 = 0.5:0.1:1.54; ...

2日 前 | 0

回答済み
Plotting help. No line or points appearing on plot
You need to make time as vector. Then you can plot the trajectory, if i understand it right. See the code below, it plots xe v...

2日 前 | 0

| 採用済み

回答済み
Unable to build the regression model.
Pass the second argument in *fitlm* function as matrix. % if true % code % end T = rand(2,3) lm = fitlm(train,T); ...

3日 前 | 0

回答済み
how to make given plot smooth
Change the step size of vector yy yy=0:0.2:5*(length(final_integrand)-1); But ensure that final_integrand is also the same s...

3日 前 | 0

| 採用済み

回答済み
How to convert Time function to Laplace function easily
see this resource for computing transfer function https://in.mathworks.com/help/control/ref/tf.html

3日 前 | 0

回答済み
Need Help plotting things from a table
Try this clearvars clc data = readtable('RiskFactorAnalysis (1).csv'); userinput = input('Enter a Country: ','s'); Coun...

3日 前 | 1

| 採用済み

回答済み
How to take all results from for loop?
use the for loop index to store them in array and write them to excel sheet. You are trying to change table value by 2 times i...

3日 前 | 0

回答済み
How can I fix the if statement issue in my code?
So many syntax errors in your code Use code section for better readability Try this, it works without errors day = 40; ang...

3日 前 | 0

回答済み
Tryng to graph with for loop
Dont use fractional increments for loops, Try this Mean=3; Lamda=.33; for i=1:10 % integer increments only s(i)=exp(-Lamda*...

3日 前 | 0

| 採用済み

回答済み
For loop going beyond my stated limit, did I find a glitch?
You are using _linspace_ function inside the for loop. Declare or initalize it outside the for loops. The size of _a_ matrix wil...

3日 前 | 0

Load more