Community Profile

# Chaudhary P Patel

Last seen: 12 dagen ago Active since 2019

#### Content Feed

View by

Question

Command for Stopping the Analysis
When a variable (x) exeed the limit value (y) doing so after 5 times then stop the analysis.

18 dagen ago | 1 answer | 0

### 1

Question

How to save matrixes resulted from a running loop for further use in MATLAB
I am running a code in which for each cycle i am getting different matrix of size 30 X 30. I have to use the matrixes in the nex...

2 maanden ago | 1 answer | 0

### 1

Question

Compare each element of a vector with a number and if the element of the vector is higher than the number then replace that element with the number
Suppose we have a vector Av=[5;4;6.7;5.5;12;5.4;7] I want to check that the each element of Av should not more than the 6. if...

5 maanden ago | 1 answer | 0

### 1

Question

How can i get a logical vector for all rows when compare each row of a column matrix with a another row column matrix
I have two matrix A and B, i want to compare these to matrix to get logical vector for each row.

7 maanden ago | 1 answer | 0

### 1

Question

Error "Size input must be scalar"
Sir, Here delu=randi(30,1), in which i want to add zeros(3,1) but when i am running this in my complete code it is showing "Size...

9 maanden ago | 1 answer | 0

### 1

how I can fix the error "size inputs must be scalar".?
Sir, Here delu=randi(30,1), in which i want to add zeros(3,1) but when i am running this in my complete code it is showing "Size...

9 maanden ago | 0

Question

How can I call a value in side the a function which is already evaluated.
%% knt i calculated here. nf=max(elem(:,4)); maxfl=max(elf(:,1)); for flno = 1:1:maxfl for i=elf(1,1) for j=1:1:n...

9 maanden ago | 2 answers | 0

### 2

Question

Find minimum and maximum value from a matrix for a specific interval
I have a 30X100 size matrix, for which i want to find minimum and maximum value for row 2,5,8,11,14,17,20,23,27. How can i find...

9 maanden ago | 1 answer | 0

### 1

Question

This is for single degree of freedom but when I am writing it for MDOF why the DFbar is not calculating properly?
function [t,u,v,a, kbar, R, keyp, key, Du, k_p] = NewmarkNon( t, DF, Dt, u0, v0, ut, uc,a0, F1, k, c, m, Rt, Rc, R, gamma, beta,...

9 maanden ago | 0 answers | 0

### 0

Question

How the Function "NewmarkNon" is working and meaning of Keyi and Keyp in this coding?
%----------------------- Mario Paz Example 7.1 ---------------------------- clear; %------------------------------------------...

9 maanden ago | 0 answers | 0

### 0

Question

Extract Data from Excel from with Equal Interval
Actually i have a Column wise data of (14001X2), from which i have to extract data from equal interval of 10. please help me.

11 maanden ago | 0 answers | 0

### 0

Question

how can i restore data which is replaced in the end
% I am facing the that Utt for n=5 replacing the others, so I am unable to call the previous value of Utt for n=1,2,3, and 4 . ...

ongeveer een jaar ago | 1 answer | 0

### 1

Question

How can i use two variables while using eval command
Sir/ Madam I wrote this command for running for 100 time steps under for each n=5; when i wrote it like this eval(['FSS',num...

ongeveer een jaar ago | 1 answer | 0

### 1

Question

How can i write three different condition in a single loop
I want to write three different condition in single loop. My three conditions are; if i==1 if 1<i<N if i==N

ongeveer een jaar ago | 1 answer | 0

### 1

Question

how can I add and change the position of elements in vector

ongeveer een jaar ago | 1 answer | 0

### 1

Question

how can i call vector and their element at a time for comparision
Respected Sir/Madam i have Fr1= [0.8147; 0.9058; 0.1270; 0.9134; 0.6324] Fr2= [0.0975; 0.2785; 0.5469; 0.9575; 0.9649] Fr3...

ongeveer een jaar ago | 3 answers | 0

### 3

Question

how to store the conditional loop data
sir/ madam please correct me. ut=rand(15,1); uy=([0.84;0.384;0.784]); eval (['U_y','=[u_y;u_y;u_y;u_y;u_y]']); for n=1:15 ...

ongeveer een jaar ago | 2 answers | 0

### 2

Question

Call a element of Varying Column vector
Kt=rand(6,6); u=rand(6,6); for i=1:1:6 for n=1:1:5 fr(:, i)=Kt*u(:,i) % i am try to call earch column of u here for multipl...

ongeveer een jaar ago | 1 answer | 0

### 1

Question

How to convert SDOF system to MDOF system of Nonlinear Dynamic analysis of a building

ongeveer een jaar ago | 1 answer | 0

### 1

Question

Same loop have different vector output
Sir, when i am running this loop for f_s the first f_s1 is comming as a column vector while f_s2, 3, 4, 5, are comming as a row ...

ongeveer een jaar ago | 1 answer | 0

### 1

Question

comparison of two column vectors
sir/madam i have two column vectors, i want to compare element by element and want to know which is large or small. please help...

ongeveer een jaar ago | 1 answer | 0

### 1

Question

extract small vector from large vector
b=[1;2;3;4;5;6;7;8;9;10;11;12;13;14;15]; a=zeros(3,1); c=([a;b]); d=(c(1,1):c(6,1)); e=(c(4,1):c(9,1)); please suggest me t...

ongeveer een jaar ago | 1 answer | 0

### 1

Question

extract vector from large vector
i have vector [0 0 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ] from this i have to extract 5 vectors which are; [0 0 0 1 2 3] [1...

ongeveer een jaar ago | 1 answer | 0

### 1

Question

How can i convert Global displacement to local displacement
how can i write code for global to local displacement matrix.

ongeveer een jaar ago | 0 answers | 0

### 0

Question

Can anyone help me in newmark nonlinear method for mdof ?
I want to code a program in the field of nonlinear newmark for mdof structures in matlab.

ongeveer een jaar ago | 0 answers | 0

### 0

Question

{a1; a2; 0} i want to R1-R1 and R2+R1

meer dan een jaar ago | 1 answer | 0

### 1

Question

local displacement response of a building
how to convert a global displacement response in to the local displacement response.

meer dan 2 jaar ago | 0 answers | 0

### 0

Question

legend in subplot graph
how to give legend for multiple graph case. subplot(3,1,1) plot(tn,transpose(utdelt(1,:)),'-r'); title('Displacement in X-Dir...

meer dan 2 jaar ago | 0 answers | 0