Community Profile

photo

Micke Malmström


Swerea KIMAB

45 total contributions since 2011

Contact

Micke Malmström's Badges

  • First Review
  • 5-Star Galaxy Level 1
  • First Submission
  • Revival Level 1
  • Thankful Level 2
  • First Answer

View details...

Contributions in
View by

Answered
How can I calculate a weighted mean in Matlab?
See this function https://se.mathworks.com/matlabcentral/fileexchange/14416-wmean?s_tid=srchtitle

alrededor de 1 mes ago | 0

Answered
How do I collaborate on matlab?
I would also like to be able to work simultaneously on the same file. Just as one can in google docs or office 365... it really ...

alrededor de 1 año ago | 0

Question


How can my code know if it iss called from the base or from some other function?
I want my "figure formatting function" to copy the current figure if it is called from "base"-workspace but not if it is called ...

más de 1 año ago | 1 answer | 0

1

answer

Answered
How to make long title for a plot with automatic line breaks?
ha=gca; NoCharPerLine= 78; % or whatever you want... if ismatrix(ha(end).Title.String) && size(ha(end).Title.String,2)>NoCh...

más de 1 año ago | 0

Question


Can I force Matlab to not place new figures on top?
I have some scripts that plots graphs and exports them with export_fig(...). the figures always pops up to "stay on top". Can i ...

más de 1 año ago | 3 answers | 0

3

answers

Answered
calling subclass method does not pass the obj only the argument
This seems to work: OBJ=FLUS; OBJ.fun1(OBJ,extravalues);

más de 1 año ago | 0

Question


How can I change the icon of my AppDesigner-produced GUIs?
I would like to easily distinguage my GUI from the figures when pressing Alt+Tab so I can access it faster. Now when I run the...

más de 1 año ago | 1 answer | 0

1

answer

Answered
How to make long title for a plot with automatic line breaks?
Write code to # Get the axis width (ha.Position), and fontsize (ha.Title.FontSize) in pixels (where ha is the handle to the ...

más de 1 año ago | 0

Question


calling subclass method does not pass the obj only the argument
I have these classes classdef LUS < handle methods function fun1(obj,extravalues) %some code using extravalues ...

casi 2 años ago | 1 answer | 0

1

answer

Question


How to auto rotate x/y/z-label to the same angle as the axis?
I use the 'Rotation' option to get the text aligned with the axis at the momet, eg: xlabel('Frequency (MHz)','Rotation',-10)...

casi 2 años ago | 1 answer | 0

1

answer

Question


How to synchronize two datasets with different AND varying sampling rate?
I have the data sets, Data1 and Data2 like below: Data1.t % vector with timestamps e.g. [0.1, 0.4 2 2.3 4 4.5 4.7 etc...] ...

alrededor de 2 años ago | 0 answers | 0

0

answers

Question


What is the difference between designfilt and fdesign
Im trying to do zero phase filter my obj.CurrentData with this: % FilterType='butter'; % FilterP...

alrededor de 2 años ago | 1 answer | 1

1

answer

Answered
How can I stop image stretching using imshow in the new App designer?
Have you tried variations of "axis"? Like axis(app.UIAxes,'equal')

alrededor de 2 años ago | 0

Question


Advise on how to structure different classes. I'm OO newbie
I have between 1 and 1500 oscilloscope traces that make up a 2D-dataset that is associated with a lot of other parameters (eg X,...

casi 3 años ago | 1 answer | 0

1

answer

Question


Where should I save my own app prefereces?
I have my AppDesigner-app and I want it to remember the settings from last session. How and where should i prefereably save the ...

casi 3 años ago | 2 answers | 0

2

answers

Question


Can I "collapse all in" the editor like in the help browser
When I work in a class I usually collapse all my methods (functions) to get a better overwiew. BUT I cant seem to find a way of ...

casi 3 años ago | 1 answer | 1

1

answer

Question


Can Í have a listener in a class that checks if the folder-content is changed?
I have a folder that recievs files from time to time and I want matlab to plot the data directly as they arive in the folder... ...

casi 3 años ago | 1 answer | 0

1

answer

Question


setting transparancy of legend?
Is it possible to make the background of the legend be slighly transparent so that the lines behind it can be somewat visible?

casi 3 años ago | 2 answers | 0

2

answers

Question


how can my app inherit from my classes
I have a class that can do some computations on some imported data. Now I would like to create an app with buttons for the metho...

casi 3 años ago | 1 answer | 0

1

answer

Question


How to check if right axis is visible?
I have a finction that process all the lines in the current graph. Since the introduction of yyaxis right I need my fun...

alrededor de 3 años ago | 1 answer | 0

1

answer

Question


can matlab change the icon of files?
So I have allot of files with data that i would like to plot as a "sparkline" and use as the system icon for the file. Can Ma...

más de 3 años ago | 1 answer | 0

1

answer

Question


Can I access function from a mlapp?
I have a nice function inside of MyMlapp.mlapp I just wonder if I can somehow call that function or if I have to go in and copy ...

más de 3 años ago | 0 answers | 0

0

answers

Question


How can a function find location of itself?
I want to save a file in the same location as the a function (ie not in the current folder). How can a function find get the loc...

más de 3 años ago | 1 answer | 0

1

answer

Question


How to get UIFigure handle?
I want to check if a UIFigure exist already (then I dont have to open a new one). Ive tried searching with findobj( 'Handl...

más de 3 años ago | 1 answer | 0

1

answer

Question


how to extract data from structure efficiently
Hi I have this structure with sometimes allot of A_scans: >> Data.CH1 ans = name: 'CH1' P...

más de 3 años ago | 1 answer | 0

1

answer

Question


Is there a way to extract the width/diameter of the contour lines?
I have this image which is an intensity plot of my laser beam: <</matlabcentral/answers/uploaded_files/43593/untitled.png>> ...

casi 4 años ago | 2 answers | 0

2

answers

Answered
How to uninstall MinGW-w64 C/C++ Compiler and start over?
Ah, I had to remove TDM-GCC from Control Panel\Programs\Programs and Features

casi 4 años ago | 1

| accepted

Question


How to uninstall MinGW-w64 C/C++ Compiler and start over?
I accidentally installed the latest version of MinGW-w64 C/C++ Compiler instead of the recommended. Now when I uninstall it and ...

casi 4 años ago | 2 answers | 0

2

answers

Answered
How to handle overflows of int16
Ok this it what I do: >> mod(-2^15-1+(+2^15),2^16)+(-2^15) ans = 32.7670e+003

casi 4 años ago | 0

| accepted

Question


How to handle overflows of int16
I get a vector of int16 from a VISA-instrument where the values have rolled over if to big, the vector has an offset that I want...

casi 4 años ago | 1 answer | 0

1

answer

Load more