Community Profile

photo

tensorisation


Last seen: 1 year ago Active since 2016

Statistics

  • Thankful Level 2
  • First Review
  • Thankful Level 1

View badges

Content Feed

View by

Question


How to vectorize this for maximum efficiency?
In my calculation I had to go over non-zero elements of a 3 dimensional array (label). Instead of making 3 loops over each index...

4 years ago | 1 answer | 0

1

answer

Question


How to properly define input types for Matlab Coder?
I'm struggling to make a mex file work properly (see more here) so I decided to try and use Matlab Coder to do that hoping that ...

4 years ago | 1 answer | 1

1

answer

Question


How to fit data to a curve with known error bars and draw it?
Using built-in functions like fit(...) or nlinfit(...), how exactly do I fit data to a curve with known error bars? Let's say i...

4 years ago | 1 answer | 0

1

answer

Question


How to print figure to an .eps file properly?
I'm printing the same figures as .png and .eps files. The .png looks fine, but the .eps appear to have some issues: Somehow th...

4 years ago | 2 answers | 0

2

answers

Question


How to properly convert variable names into a chain of strings in Matlab?
I'm using the save command to store useful data of certain variables a, b_123, cc42,.... I want to have the variable names conve...

4 years ago | 3 answers | 0

3

answers

Question


Reducing run time of a numerical calculation using a mex file in Matlab
I wrote a Matlab code that involves doing a numeric calculation (relaxation), but it is quite slow. I learned of the possibility...

4 years ago | 1 answer | 0

1

answer

Question


Reducing run time of a numeric calculation using a mex file in Matlab
I wrote a Matlab code that involves doing a numeric calculation (relaxation), but it is quite slow. I learned of the possibility...

4 years ago | 0 answers | 0

0

answers

Question


Handling figures built for different parameters in Matlab
i couldn't find a simple answer to this thing im trying to do in Matlab. i'm gonna simplify this - say i have a function file th...

8 years ago | 1 answer | 0

1

answer

Question


How to solve a 1st order 1D PDE in Matlab?
i have a set of 5 equation that takes the form: du_i/dt=A_i(u)*(du_i/dx)+B_i(u) where u(x,t)=[u_1(x,t);u_2(x,t);u_3(x,t);u...

8 years ago | 0 answers | 0

0

answers

Question


Can I use pdepe to solve my set of PDE's?
i need to solve a set of 5 PDEs for functions u(x,t). i looked up the function pdepe of matlab: http://www.mathworks.com/help...

8 years ago | 0 answers | 0

0

answers

Question


Solving a set of PDEs
i need to solve a set of 5 PDEs for functions u(x,t). i looked up the function pdepe of matlab: http://www.mathworks.com/hel...

8 years ago | 0 answers | 0

0

answers

Question


How to solve a set of ODE with discontinuities?
i've been stuck on this problem for a long time now, and i wasn't able to find a solution to this. the only solution i know o...

8 years ago | 0 answers | 1

0

answers

Question


Strange error when trying to solve a set of ODEs
i ran into a strange error when trying to solve a set of odes. when my code was working fine, i tried changing one of my paramet...

8 years ago | 2 answers | 0

2

answers

Question


ODE solver event function problems
say i have some function f(y) (where y is one of my function in the ode set that i am solving) and my event is f(y)=1. for the f...

8 years ago | 0 answers | 0

0

answers

Question


Problem solving a set of 5 non-linear ODE's
i have a problem when i try to solve a set of 5 odes. i tried using ode45 and the other ode's functions and it always gives me t...

8 years ago | 1 answer | 0

1

answer