Community Profile

# Ahmed Anas

Last seen: 4 months ago Active since 2019

All

#### Content Feed

View by

Question

Relationship between eig(A,B) and eig(A)
Lets say we have two matrices A=[1 2 3;4 5 6;7 8 9]; B=[1 0 0;0 3 0;0 0 0]; It should be noted that matrix B will always be s...

4 months ago | 0 answers | 0

### 0

Question

Finding matched rows of matrix with other matrix?
Lets say we have two matrix. A=[1 1] B=[2 0;1 1;1 1;3 1] Now second and third rows of B are same as matrix A. and I want to f...

1 year ago | 1 answer | 0

### 1

Question

How to create 2D Graphics Environment?
Hi All, I want to create a 2d graphics environment, where there is a grid system and then user draw lines using mouse and at ba...

1 year ago | 0 answers | 0

### 0

Question

How to turn on the grids of axes upon start?
Hi All, I have an axes with tag 'axes1' in gui project, now i want that when the project is started, the minor grids of axes sh...

1 year ago | 1 answer | 0

### 1

Question

Reading data from csv or tsv file starting from some line
Hi All, I need to read data from a file openable in notepad. The file format can be csv or tsv. But the data will start from so...

1 year ago | 1 answer | 0

### 1

find values in vector present in cell array
Dear, Always use matrix instead of cell arrays, working with matrix is really easy as compared to cell arrays. In the code below...

1 year ago | 0

how to split a vector into small subvectors based on condition
Dear, it will give you the desired results clear all clc V = [30 35 24 15 14 48] N=60 for i=1:size(V,2) subsA = nchoo...

1 year ago | 0

Error: Unable to perform assignment because the left and right sides have a different number of elements.
v2=11.5; k1=-0.5748; k2=0.4468; k3=0.0128; z = 1:1:6; z1 = 0:1:5; for i = 1:1:6 e1(i) = ((-v2/2)+(0.125*(z1(...

1 year ago | 0

| accepted

Question

How to provide curvature to a line?
Lets we have three points having coordinates as follows: A(0,0) B(6,4.5) C(12,4.5) and we have to draw line between these th...

1 year ago | 0 answers | 0

### 0

Solved

Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

1 year ago

Solved

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

1 year ago

Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

1 year ago

Submitted

Mass and Stiffness Matrix Extractor from Sap 2000
This program can be used to extract mass and stiffness matrices for your Sap 2000 analysis problem.

Question

How to use uigetfile with filter set to "All files"..
i want to select files by browse window (using command 'uigetfile')so that filter should be "all files" when opened, just like t...

1 year ago | 1 answer | 0

### 1

Question

Read txt file and exclude string line..
I have attached a file openable in text . The data of the file is as follows: Note: Joint label, Equation numbers for U1, U2,...

1 year ago | 0 answers | 0

### 0

Question

Hi all, I have to read the file (inserted in attachment) and only need the numeric portion as a matrix(array). The extension of...

1 year ago | 2 answers | 0

### 2

Question

Is it possible to create user interface on some other language and embed it with matlab back end programming?
Hello all, I am currently involved in the development of dekstop application using matlab and matlab guide. My question is that...

1 year ago | 0 answers | 0

### 0

Question

How to animate the plot back and forth for unlimited cycles?
Take the example of code pasted below. I just want that the ball move back and forth again and again until some body closes the...

2 years ago | 1 answer | 0

### 1

Question

Adding Strings to list box so that if two strings are same, a number will be added.
I have a listbox and add button and an editable text. On clicking Add button, text will be taken from the edit box and will be ...

2 years ago | 2 answers | 0

### 2

Question

Sharing data between GUIs created using guide..
I have two GUIs , namely 'MaterialProperties' and 'MaterialPropertiesData'. GUI 'MaterialProperties' has a list box containing ...

2 years ago | 0 answers | 0

### 0

Question

How to get the object handle of gui which is not running and change some property??
Hi guys!! I have two GUIs namely GUI 'A' and 'B'. On clicking a pushbotton on GUI A, string of editable text on GUI 'B' should...

2 years ago | 1 answer | 0

### 1

Question

How to call some object handle from opening function of figure?
Hi Guys! I have a figure containing a listbox and pushbutton. What i want is that on opening the GUI, the listbox string sets t...

2 years ago | 1 answer | 0

### 1

Question

Taking input from table and save it by pressing push button on that table...
What I want is that i take input form the user. Let it be N. Afterwards a table will be generated of order (N,2) and user will p...

2 years ago | 0 answers | 0

### 0

How to get data from a variable number of Edit Text box in Matlab GUI ?
Kindly send me the complete code for this, cant understand it well and have following error. Error using My>thickness (lin...

2 years ago | 0

Question

Generate edit text boxes by providing their numbers in GUI
I want to generate n number of edit text boxes by providing n as input in GUI. Is it possible? For example, User first provide...

2 years ago | 0 answers | 0