Question

How do you enforce Element-wise operations in function handles?

I am looking to enforce that all function handles enforce elementwise operations. The reason for this is I have written a 3D num...

3 maanden ago | 2 answers | 0

Question

Is there a way to run many anonymous functions simultaneously?

Hi All, I have a problem where I need to evaluate 18 anonymous functions before combining them into three variables. This is ...

3 maanden ago | 1 answer | 0

Question

How to parallelise sections of my for loop

Hello, I am trying to think of a way to make my for loop quicker. It has occurred to me that I could parallelise the commands ...

8 maanden ago | 1 answer | 0

Question

How to plot two trimesh plots together with different colour maps?

Hello, I am trying to use trimesh to plot two meshes onto one plot to compare the values, so I can visually see the areas\time...

11 maanden ago | 1 answer | 0

Question

Storing Function Handles in structure

Hello, I am trying to write a code such that I have a class of anonymous functions to which to call. I would like to store...

meer dan een jaar ago | 1 answer | 0

Question

How do you rearragne a matrix?

I am trying to vectorise a matrix of by using the data: AN=[0,0.500000000000000,0,0.500000000000000,0.500000000000000,0,0,0....

bijna 2 jaar ago | 1 answer | 0

Question

How to find the row numbers for the pairwise entries from one matrices to another?

I am trying to compare two matrices of length 2xn and 2xm for n>m. For example consider n=19,m=16. Then we have the following tw...

ongeveer 2 jaar ago | 1 answer | 0

Question

Speeding up video creation

I am trying to create a video in matlab from some data I have produced. I have data of size 5242x5000 double against nodes 5242x...

ongeveer 2 jaar ago | 0 answers | 0

Question

Entering default values in a function.

I am trying to add default values into my function but whenever I use nargin or varargin i still get 'undefined function or vari...

ongeveer 2 jaar ago | 1 answer | 0

Question

Drawing parabolas in pdeModeler

I am looking to design a rocket nozzle and throat in pdeModeler, in the form of this (http://www.aerospaceweb.org/design/aerospi...

meer dan 2 jaar ago | 1 answer | 0

Question

How do extract boundary nodes in matlab?

I am trying to extract all of the boundary notes for an ellipse from PDEModeler (pictured below). I know that the boundary nodes...

meer dan 2 jaar ago | 2 answers | 0

Question

How do you print an anonymous function properly in a figure title?

I am trying to print an anonymous function as part of a title for a plot. I would like it to look like a latex entry where but ...

meer dan 2 jaar ago | 1 answer | 0

Question

How do you add unique values to each entry in a matrix via a loop?

I am trying to create matrix in a loop such that we are recording each vertex per edge on this (or of any number of verticies) s...

meer dan 2 jaar ago | 0 answers | 0

Question

Can you store symbolic functions in a matrix/vector?

I am trying to write a finite element code. I want to consider the basis functions . So I need to be able to store them in a ...

meer dan 2 jaar ago | 2 answers | 0