Question


Best method to be implimented
Having a couple of equations inside a function. This function has an output.This output is again an input in the same equation u...

ungefär 10 år ago | 1 answer | 0

1

answer

Question


Efficient way to impliment this expression
I got the following equation : <</matlabcentral/answers/uploaded_files/18120/equation.png>> Let me assume the follow...

ungefär 10 år ago | 0 answers | 0

0

answers

Question


adding matrices with different dimensions
I got an equation similar to this : X-sin(thita). size(X) = 1x50 size(thita) = 1x180. My output should be a matrix of 50x1...

ungefär 10 år ago | 2 answers | 0

2

answers

Question


how to optimize a diag matrix with sparse
How to optimize this diagonal matrix using sparse : a=diag([-ones(9,1)],-1)+diag([ones(10,1)])+diag([0 ones(1,4) 0],4)

mer än 10 år ago | 1 answer | 0

1

answer

Question


button in a figure
How to add a button in a figure that changes the line style of a subplot,without using GUIDE?

mer än 10 år ago | 1 answer | 0

1

answer

Question


Displaying image directly from a link to a MATLAB figure
Is there a way to take an image directly from a link and insert it in a figure? To be more clear an example follows: A fu...

mer än 10 år ago | 2 answers | 0

2

answers

Question


Vectorization of for/loop
I have the following code: for ii = 1: length(angles) laminate.ply(ii).angle = angles(ii)/180*pi; laminate.ply(ii)...

mer än 10 år ago | 2 answers | 0

2

answers

Question


More efficient way of this code?
Lets say that i have a function : y=fun(x,z) that do the following calculations : ex1: fun([0 45 90],2) , y=[0 45 90 0 4...

mer än 10 år ago | 2 answers | 0

2

answers