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

3 mesi ago | 1 answer | 0

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

3 mesi ago | 0 answers | 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...

4 mesi ago | 1 answer | 0

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

4 mesi ago | 1 answer | 0

Answered

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

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

7 mesi ago | 0

Answered

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

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

7 mesi ago | 0

Answered

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

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

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

7 mesi ago | 0 answers | 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...

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

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

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

7 mesi ago | 6 downloads |

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

7 mesi ago | 1 answer | 0

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

7 mesi ago | 0 answers | 0

Question

Read text file with string

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

7 mesi ago | 2 answers | 0

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

7 mesi ago | 0 answers | 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...

8 mesi ago | 1 answer | 0

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

8 mesi ago | 2 answers | 0

Question

Sharing data between GUIs created using guide..

I have two GUIs , namely 'MaterialProperties' and 'MaterialPropertiesData'. GUI 'MaterialProperties' has a list box containing ...

8 mesi ago | 0 answers | 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...

8 mesi ago | 1 answer | 0

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

8 mesi ago | 1 answer | 0

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

circa un anno ago | 0 answers | 0

Answered

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

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

circa un anno 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...

circa un anno ago | 0 answers | 0

Question

Kindly explain how to take drawing based input in matlab GUI?

There is often a demand to take input from the user by providing a suitable workspace(canvas) and the user provide the input in ...

circa un anno ago | 0 answers | 0