Réponse apportée
How to reduce the file size of a saved histogram figure
You have two options that I'm aware of: # Change the underlying data so you reproduce the same bins with fewer data points. ...

environ 4 ans il y a | 1

Réponse apportée
Computational cost of the commanda 'path'
Once you are at the stage where the profiler makes any sense at all, you should question why you are still using scripts instead...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Change exp from number to e
Your own suggestion actually works (although it requires a call to simplify): syms c1 c2 y(x) f(x) e y(x) = (e^2/(e^2+1))*e^(-...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
confusion matrix with string greek letters like alpha and beta
If you use the actual greek letters, that should work (as long as the function supports all implemented characters): text(1,1,c...

environ 4 ans il y a | 0

Réponse apportée
reading files that contain changing parts and parts that need to be ignored
You need to use dir to find the actual file name matching some pattern. Then you can provide the function with the real file nam...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
negative positive sign matrix B need to follow matrix A
The sign function seems an obvious choice: A=[ -1 3 -2 4 6]; B=[2.1 2.2 4.2 4.5 5.8]; C=sign(A).*B sum(C)

environ 4 ans il y a | 2

| A accepté

Réponse apportée
How to generate repeatable random multiple vectors with Specific Number of Values and Fixed Sum?
You should try to restructure your problem to make it fit the tools you already have. If we figure out a way to generate an ord...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Rotate an image around centroid without deformation
I'm not a fan of using i as a variable name, nor do I like shadowing the image primitive with a variable. Other than that, read...

environ 4 ans il y a | 1

| A accepté

Réponse apportée
How to format wkt (well known text string) as a normal string to build a webread input?
I suspect you need to apply percent encoding, as URLs are not allowed to contain spaces.

environ 4 ans il y a | 1

Réponse apportée
How to generate random Patient ID numbers?
The save function has two modes: saving variables and saving a struct. The easiest way to solve this error is to store the da...

environ 4 ans il y a | 1

| A accepté

Réponse apportée
how to minus a sequence value
The diff function will do what you want. You can use abs to get the absolute value.

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Can MATLAB control a website and extract data from it?
My suggestion would be to look at the network tab of your browser's debugging tools to find out from where that data is loaded. ...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
How to Convert data into Image using Matlab
The shape did not actually change. You just expanded the y from [-2 18] to [0 1000]. S=load(websave('tmp.mat','https://www.mat...

environ 4 ans il y a | 0

Réponse apportée
How do I access a .m file in a subfolder?
If you want the read the file as text: You can use a relative path: txt=fileread(fullfile('Workspace','constants.m')); You ca...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Hide licensee first name
You can change your username, which is what is actually displayed.

environ 4 ans il y a | 0

| A accepté

Réponse apportée
how does "[x,y] = WindowCenter(window)" work
The documentation for that function is terrible. Let that be a lesson for when you write your own function. This help text is co...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Min and Max values and corresponding x/y values
You should use the second output of the min function to return the linear index of the position with the lowest value. Since yo...

environ 4 ans il y a | 0

Réponse apportée
there is an error in describing the loop, please help me to resolve this one.
If you're not planning to do anything with the intermediate values, why would you store them? init % Runs the first part of you...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
How to stop (an infinite loop) / the execution of my matlab code via app designer?
You need to use the callback function from your stop button to edit a value. This is the general structure: function StartButto...

environ 4 ans il y a | 0

Réponse apportée
install command on linux doesn't bring up installer - again
The 'solution' is to run the installer as normal user (no sudo) and make the current user the owner of the install directory wit...

environ 4 ans il y a | 0

Réponse apportée
Loop through parents name
If you're using a struct, you need to do this: uitabname = 'Panel_Perfo'; obj.Display.Compare_Options = uicontrol(obj.Display....

environ 4 ans il y a | 0

| A accepté

Réponse apportée
GUIDE changes my figure size and displays wrong information
I would set the position property in code. You can also do that by putting it in the startup function. You could even first do a...

environ 4 ans il y a | 1

| A accepté

Réponse apportée
is there codes that helps to find out the type of the distribution ?
No. What you ask is fundamentally impossible. What you *can* do is try several distributions and see how well they fit.

environ 4 ans il y a | 2

| A accepté

Réponse apportée
Replacing element of a matrix
I suspect this is homework, so I'm only going to give you a suggestion: You should have a look at the colon operator and how yo...

environ 4 ans il y a | 0

Réponse apportée
How can I compare two cell arrays with different sizes ?
A simple loop will do the trick: a = {{1,1} ,{2,3} ,{4,5},{6,7} ,{8,9} ,{10,11};{12,13} ,{14,15} ,{16,17},{18,19} ,{20,21} ,{2...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Out of Memory error
Matlab stores arrays in contiguous blocks of memory. I have always interpreted that to mean it cannot cross RAM-sticks (so if yo...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Can I combine letters with numbers in the same matrix?
You have these options: {'L','M';1,2} ["L","M";"1","2"] ['L','M';1,2] double(['L','M';1,2])

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Delete rows in struct based on number of elements in field
If you mean you want to remove elements from your struct, you're fairly close already. Scouts.Vertices returns a comma separated...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
How to save spectrogram?
You can do the work yourself (as the axes contains a Position property from which you can determine what you need to crop), but ...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Math lab questions solve it
I will not do your homework for you, but these pointers should help you. doc for doc repmat % although you can do this part wi...

environ 4 ans il y a | 0

| A accepté

Charger plus