Question

Is there an efficient way to calculate hash for objects

Hey, I have objects ("Sequence") on which I need to do some heavy calculations, the result is another object of the same kind (...

3 månader ago | 1 answer | 0

Submitted

quiverInLogScale

Plots matlab quiver with log scaling while maintaining proper arrows directions.

mer än ett år ago | 6 downloads |

Question

Can I make an automatic colorbar that ignores zeros?

Hey, I'm doing 2d scanning with matlab, I'm plotting the data using imagesc and I do it after every line scan. The initial v...

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

Question

Setting proprties for multiple UIControl objects at once (or setting a default)

Hey, I'm creating a complex GUI that will have many similar objects (for example, text). I want all of them to have the same pr...

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

Question

How to create a quiver plot with logarithmic scaled arrows

Hey, I have a vector field with a large dynamic range; therefore the only way to properly see it in a quiver plot is if the leng...

mer än 4 år ago | 2 answers | 2

Question

How to represent a 2D vector field in a way that will allow vectorial calculations (dot product)

Hello, I'm trying to calculate the magnetic field created by a point dipole at an XY plane at some distance, the formula is a...

mer än 4 år ago | 0 answers | 0

Question

Creating a matlab error with idents creates the wrong structure?!?

Hey, I'm trying to work according to <http://www.mathworks.com/help/matlab/ref/error.html this>, but something doesn't work r...

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

Question

Weird warning when using loadlibrary - said it created a library and an object??

Hey, I'm trying to load a c++ dll file and I'm getting a weird warning, this is the code: shrlib = 'C:\Users\Public\PI\P...

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

Question

what data type do i need to calllib with pointer argument char*

Hey there! I'm using a shared library and I'm tring to call this function from it (from h file): long PI_FUNC_DECL PI_Enum...

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

Answered

Patch - how to choose colors

Ok, problem was basically the ; inside the vector definitions, should be: x=[xFit xFit]; y=[yPredict(:,1)' yPredict(:,2)...

Patch - how to choose colors

Ok, problem was basically the ; inside the vector definitions, should be: x=[xFit xFit]; y=[yPredict(:,1)' yPredict(:,2)...

mer än 6 år ago | 0

| accepted

Answered

Create a filling between cftool prediction bounds

So I've found the quick way to do it and I'll add it for reference, but it's simplify calling "area" with the x and y data, much...

Create a filling between cftool prediction bounds

So I've found the quick way to do it and I'll add it for reference, but it's simplify calling "area" with the x and y data, much...

mer än 6 år ago | 0

| accepted

Question

Patch - how to choose colors

Hey, I'm having trouble getting a hold on Patch. I have this code: xFit = logspace(4,8,1000); yPredict = predint(fit...

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

Question

Create a filling between cftool prediction bounds

Hey there, Not sure if it's even possible in Matlab, but since it's possible in other programs I'll ask :) I have some dat...

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

Answered

How would I open multiple figures from one script.

Hey Giuseppe, Yes, you need to call figure() in between. You can just call it without parameters and it'll work, or you can ch...

How would I open multiple figures from one script.

Hey Giuseppe, Yes, you need to call figure() in between. You can just call it without parameters and it'll work, or you can ch...

mer än 6 år ago | 11

| accepted

Question

Saving a figure with a textbox

Hey, I've been trying to save a figure as a png, and it's working, but when I've added a textbox, it appears to save it witho...

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

Answered

Make num2str in engineering format

Ok, I've actually came up with a better, simpler solution: format shortEng disp([' Cutoff frequency: ', strtrim(evalc('d...

Make num2str in engineering format

Ok, I've actually came up with a better, simpler solution: format shortEng disp([' Cutoff frequency: ', strtrim(evalc('d...

mer än 6 år ago | 0

| accepted

Question

Make num2str in engineering format

Hey, I'm writing this code: disp(['Cutoff frequency: ',num2str(wcutoff,'%e')]); and this displays the frequency in an n...

mer än 6 år ago | 3 answers | 1

Question

How do I change axes limits for a semilogx plot

Hey, I'm trying to change the axes limit on a semi log plot, but it's failing, and googling didn't bring up anything :( Ba...

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

Question

Is it possible to plot a curve fitting object in semi log scale

Hey, Long story short, I have a curve fitting session that I want to plot in semi log scale (x). I generated the code from t...

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

Question

Restore data from curve fitting session

Hey There, I've analyzed a lot of data, fitted a bunch of stuff to it, then saved my curve fitting session. I haven't saved th...

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