Community Profile

# Chaudhary P Patel

Last seen: 28 días hace Con actividad desde 2019

Ver insignias

#### Content Feed

Ver por

Pregunta

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.

29 días hace | 1 respuesta | 0

### 1

respuesta

Pregunta

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...

2 meses hace | 1 respuesta | 0

### 1

respuesta

Respondida
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...

2 meses hace | 0

Pregunta

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...

2 meses hace | 2 respuestas | 0

### 2

respuestas

Pregunta

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...

2 meses hace | 1 respuesta | 0

### 1

respuesta

Pregunta

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,...

3 meses hace | 0 respuestas | 0

### 0

respuestas

Pregunta

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

3 meses hace | 0 respuestas | 0

### 0

respuestas

Pregunta

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.

4 meses hace | 0 respuestas | 0

### 0

respuestas

Pregunta

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 . ...

6 meses hace | 1 respuesta | 0

### 1

respuesta

Pregunta

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...

6 meses hace | 1 respuesta | 0

### 1

respuesta

Pregunta

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

7 meses hace | 1 respuesta | 0

### 1

respuesta

Pregunta

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

7 meses hace | 1 respuesta | 0

### 1

respuesta

Pregunta

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...

7 meses hace | 3 respuestas | 0

### 3

respuestas

Pregunta

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 ...

7 meses hace | 2 respuestas | 0

### 2

respuestas

Pregunta

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...

7 meses hace | 1 respuesta | 0

### 1

respuesta

Pregunta

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

7 meses hace | 1 respuesta | 0

### 1

respuesta

Pregunta

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 ...

8 meses hace | 1 respuesta | 0

### 1

respuesta

Pregunta

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...

8 meses hace | 1 respuesta | 0

### 1

respuesta

Pregunta

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...

8 meses hace | 1 respuesta | 0

### 1

respuesta

Pregunta

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...

8 meses hace | 1 respuesta | 0

### 1

respuesta

Pregunta

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

8 meses hace | 0 respuestas | 0

### 0

respuestas

Pregunta

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.

9 meses hace | 0 respuestas | 0

### 0

respuestas

Pregunta

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

10 meses hace | 1 respuesta | 0

### 1

respuesta

Pregunta

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

casi 2 años hace | 0 respuestas | 0

### 0

respuestas

Pregunta

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...

casi 2 años hace | 0 respuestas | 0

### 0

respuestas

Respondida
How to change the positions of elements in a vector?
i have a 30 by 1 vector and i want to replace 2, 5, 8,11,14,17,20,23,26,29 element at place of 3,6,9,12,15,18,21,24,27,30. plea...

casi 2 años hace | 0

Respondida
Newmark Beta Method problem
problem is comin from the finding displacemet, i wrote error there.

casi 2 años hace | 0

Pregunta

Newmark Beta Method problem
alpha=0.25; delta=0.5; %------------------- delt=0.005; % delt=28; %------------------- a0=1/(alpha*delt^2); a1=delta/(al...

casi 2 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Assemble of column vector in column
FG=[]; FG=zeros(N,1); m=5; for n=1:1:ne %Calling elements for i=1:1:6 ...

casi 2 años hace | 0 respuestas | 0

### 0

respuestas

Pregunta

Draw mode shape using Eigen values for a building
I calculated the Eigen values and Eigen vectors for the building in matrix form, please guide me now, how can i plot the mode ...

casi 2 años hace | 1 respuesta | 0

respuesta