Ankita Bansal
自 2018 起处于活动状态
Followers: 0 Following: 0
Feeds
已回答
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_...
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_...
6 years 前 | 0
已回答
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?
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?
6 years 前 | 0
已回答
how to solve Error: Unexpected MATLAB expression
Hi vaya, are you missing a * ? p_conn(bhp,bhT) * p_init(wc(1))
how to solve Error: Unexpected MATLAB expression
Hi vaya, are you missing a * ? p_conn(bhp,bhT) * p_init(wc(1))
6 years 前 | 0
| 已接受
已回答
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...
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...
6 years 前 | 0
已回答
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...
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...
6 years 前 | 0
| 已接受
已回答
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...
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...
6 years 前 | 0
已解决
Sums with Excluded Digits
Add all the integers from 1 to n in which the digit m does not appear. m will always be a single digit integer from 0 to 9. no...
6 years 前
已回答
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...
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...
6 years 前 | 0
已回答
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...
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...
6 years 前 | 0
已回答
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 ...
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 ...
6 years 前 | 0
已回答
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...
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...
6 years 前 | 0
已回答
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...
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...
6 years 前 | 0
已回答
Sorting a complex array and its derivatives
You can write B = sort(X,2,'ComparisonMethod','abs') angle1=angle(B);
Sorting a complex array and its derivatives
You can write B = sort(X,2,'ComparisonMethod','abs') angle1=angle(B);
6 years 前 | 0
已回答
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...
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...
6 years 前 | 0
已回答
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)...
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)...
6 years 前 | 0
已回答
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...
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...
6 years 前 | 0
已回答
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+...
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+...
6 years 前 | 0
| 已接受
已解决
Find the alphabetic word product
If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....
6 years 前
已解决
Project Euler: Problem 6, Natural numbers, squares and sums.
The sum of the squares of the first ten natural numbers is, 1^2 + 2^2 + ... + 10^2 = 385 The square of the sum of the first ...
6 years 前
已解决
Alternating sum
Given vector x, calculate the alternating sum y = x(1) - x(2) + x(3) - x(4) + ...
6 years 前
已回答
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...
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...
6 years 前 | 0
已回答
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....
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....
6 years 前 | 0
| 已接受
已回答
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...
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...
6 years 前 | 0
已回答
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/...
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/...
6 years 前 | 2
已解决
Elapsed Time
Given two date strings d1 and d2 of the form yyyy/mm/dd HH:MM:SS (assume hours HH is in 24 hour mode), determine how much time, ...
6 years 前
已解决
Make a Palindrome Number
Some numbers like 323 are palindromes. Other numbers like 124 are not. But look what happens when we add that number to a revers...
6 years 前
已解决
Making change
Given an amount of currency, return a vector of this form: [100 50 20 10 5 2 1 0.5 0.25 0.1 0.05 0.01] Example: Input a = ...
6 years 前
已解决
Counting Money
Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: $99,999.99. E...
6 years 前
已解决
Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...
6 years 前