photo

Ankita Bansal


Actif depuis 2018

Followers: 0   Following: 0

Statistiques

All
  • 3 Month Streak
  • Knowledgeable Level 2
  • Revival Level 1
  • Solver
  • First Answer

Afficher les badges

Feeds

Afficher par

A répondu
How to name a figure file with filename in for loop
Hi, you should store filenames in a cell array like filenames = {'F_BTW_0998_180702'; 'F_BTW_0998_180703'; 'F_BTW_0998_...

plus de 5 ans il y a | 0

A répondu
How to name a figure file with filename in for loop
Hi Amit, are you sure that file names are stored correctly in the variable "filename"? Can you send what you have tried so far?

plus de 5 ans il y a | 0

A répondu
how to solve Error: Unexpected MATLAB expression
Hi vaya, are you missing a * ? p_conn(bhp,bhT) * p_init(wc(1))

presque 6 ans il y a | 0

| A accepté

A répondu
how to inverse signal in matlab ?
Hi, for h(-k) you need to change the sign of n2 and you need to flip it also. Change _" stem(n2,flip(h),':') "_ to: % fo...

presque 6 ans il y a | 0

A répondu
How to subtract rows when there is a value repeated more than once ?
Hi, there are some errors in for loop. The size of a.Int_item is 270x1 while that of a.trial(i)-a.trial(i-1) is 1x1. Also, y...

presque 6 ans il y a | 0

| A accepté

A répondu
for loop problem using variable
Hi, you are making mistake in line: _"for scaled_stim(i,:)"_ You need to modify the code as ShpdModNoise=randi(5,4,320...

presque 6 ans il y a | 0

A répondu
Repmat a vector n times where n is not a whole number
Hi Stef, are you saying that you have a 4x9 matrix *A* and you want to reshape it to 12x3? If so then you can use *reshape* func...

presque 6 ans il y a | 0

A répondu
hi, I have 2 columns data, In that every 1 column data of 1000 value (like 1.2345). i have split this data into (1 to 30), (1 to 60),so on (1 to 990).
Hi, are you getting error or incorrect answer? data(2,2) is equivalent to data(1002). So if you write n = 30:30:nume...

presque 6 ans il y a | 0

A répondu
Hi!I have been trying a lot and I could not get the solution.Could someone please help me?
Hi, let's say you want to add X1 to a sine wave in simulink. For this you have to give X1 as one input to the adder block which ...

presque 6 ans il y a | 0

A répondu
Simulation time in Simulink
Hi, can you see time offset(=4) at bottom right of your figure window? The time offset is actually the start time you have gi...

presque 6 ans il y a | 0

A répondu
Plot data from simulink
Hi, if you are exporting data to workspace then you can do it using "plot3". Have a look at this example close all...

presque 6 ans il y a | 0

A répondu
Sorting a complex array and its derivatives
You can write B = sort(X,2,'ComparisonMethod','abs') angle1=angle(B);

presque 6 ans il y a | 0

A répondu
how to solve the below error
Hi DEVI, are you trying to run <https://www.math.uwaterloo.ca/~bingalls/MMSB/Code/matlab/repressilator.m this> example? You h...

presque 6 ans il y a | 0

A répondu
How to define and plot a piecewise function using if/elseif
Hi Iakovos, the solution given by Walter can be rewritten as x=linspace(0,4*pi); y = zeros(size(x)); y(sin(x) <= -1/2)...

presque 6 ans il y a | 0

A répondu
make C code to be a matlab code about LCM, please help me
Hi, numel(a) returns number of elements in a vector or matrix a. Remove the lines na=numel(a) and nb=numel(b) and modify your co...

presque 6 ans il y a | 0

A répondu
Forward, Backwawrd, Central, and Perfect Difference
Hi, in line out(n,2)=(y(n+2)-2*y(n+1)+y(n))/(x(n+1)-x(n))^2; you are getting error because you are trying to access y(n+...

presque 6 ans il y a | 0

| A accepté

A répondu
Undefined function or variable 'batchNormalizationLayer'.
You can view all installed toolboxes using the Add-On Manager. To open the Add-On Manager, go to the Home tab and select Add-Ons...

presque 6 ans il y a | 0

A répondu
How to Use Area Value on a Formula
You already have area stored in a variable "Area" in workspace? If so then you can directly enter the command (3*Area/4)*354....

presque 6 ans il y a | 0

| A accepté

A répondu
storing output (which are matrices) of for loops
Hi Sumera, you can do so by changing k to k(j) and C1 to C1(:,:,j). B= [0.0250; 0.0500; 0.0750; 0.1000; 0.1250; 0.1500; 0.1...

presque 6 ans il y a | 0

A répondu
please give me mat-lab code for these following expression
Hi Amit, you can use sym function available in matlab and write the equation. syms Fmu2 G hg b L Fmu1 Fmu2=1/2*((G/...

presque 6 ans il y a | 2

A répondu
how to apply dwt and inverse dwt for an image
Hi Fatima, in your code the sizes of X and i are not equal and you are using X as an input to dwt function. Hence whatever calcu...

presque 6 ans il y a | 0

A répondu
Simulink Design Verifier is not creating test cases.
Hi, what are the set of commands/steps you are using to create the harness model. sldvmakeharness('model name') creates empt...

presque 6 ans il y a | 0

A répondu
how i can find the Entropy for 3 probabilities by matlab?
Hi, first thing which is incorrect in your code is that you are trying to access p02(1,1,2) however p02 is 1x7 matrix. Similarly...

presque 6 ans il y a | 1

| A accepté

A répondu
How do I use the discrete wavelet transform on images?
Hi, Please refer the below link: https://www.mathworks.com/matlabcentral/answers/182192-how-to-find-2d-discrete-wavelet-t...

presque 6 ans il y a | 0

A répondu
How to find 2d discrete wavelet transform(dwt) for true color image
*Inverse DWT code* Hi, I am assuming that you are using same syntax for coefficients as used in answer given above for calcu...

presque 6 ans il y a | 0