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

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

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

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

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

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

3 Monate 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:...

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

3 Monate ago | 8 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...

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

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

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

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

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

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

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

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

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

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

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

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

11 Monate ago | 0 answers | 0