Pregunta


make tab-expansion case-sensitive in 2020?
Newer (I think it started before 2020a?) have case-insensitive tab-expansion as default, at least on linux. Is there any way to ...

más de 5 años hace | 0 respuestas | 0

0

respuestas

Respondida
Theory/ mathematics behind pspectrum
If you go to the help and online documentation you will find two references: [1] harris, fredric j. “On the Use of Windows for ...

más de 5 años hace | 0

Respondida
Second derivative of solution from ode45
After integrating your ODE-system you will have for some , and you have the function for your ODE-equations, f(t,X), one way to ...

más de 5 años hace | 2

| aceptada

Respondida
Find wavelength in an image
Ok, there are a couple of points to make. 1, Your selected column is not entirely filled with you object but also contains a bi...

más de 5 años hace | 1

Respondida
Equation of motion of Non linear pendulum
Note that the function you use for the input-argument to ode45 is pendulum while the function you implemented for the pendulum h...

más de 5 años hace | 0

| aceptada

Respondida
Mutilspectral image to RGB
To simply put each image into one of the R, G or B-layers of an RGB-image just do this: img = peaks(12); % just something to gi...

más de 5 años hace | 0

| aceptada

Respondida
How to compute mean squared error of interpolated data?
Your problem is that the interpolation will, by definition, match the values of your data at the points of your data, just try t...

más de 5 años hace | 0

Enviada


Recaman_seq
Recaman_seq - Recaman-sequence-function. This function calculates the N first numbers (decorative plot optional) of the Recaman ...

más de 5 años hace | 0 descargas |

0.0 / 5
Thumbnail

Respondida
Removing rows in a matrix
If you can determine/calculate all rows you want to remove at once it is best to do the re-sizing of the array at once, instead ...

más de 5 años hace | 0

Respondida
How to calculate the field on the surface created with Delaunay triangulation?
If you have the magnetic field components at the points [x,y,z] then you should be able to use TriScatteredInterp or (preferably...

más de 5 años hace | 0

Respondida
Too many output arguments ode23t
Try to change your maxh_d function to explicitly return dxdt: function dxdt = maxh_d(t,x) dxdt = zeros(2,1); % x(1) refers to ...

más de 5 años hace | 0

| aceptada

Respondida
Contour plot size reduction
To get the figures "just right" you might have to manually masage them a little bit. When it comes to colorbars I often have to ...

más de 5 años hace | 0

Respondida
Reversing/Alternatives of function handles
Some of our mathematic operations does not only depend on calculations of their value at a fixed set of known points. For exam...

más de 5 años hace | 1

Respondida
Optimal Code Structuring - Global Variables
Matalb allows you to write functions with multiple out-put variables: function [phi_12,l_12] = a_silly_fcn(r1,r2) phi_12 = ata...

más de 5 años hace | 0

Respondida
Reverse/flip values in the colorbar axis
If you want exactly that colormap, but flip it you can do this: cmp = colormap; cmp = flipud(cmp); colormap(cmp); You shou...

más de 5 años hace | 0

Respondida
How can I utilise shooting method for following equation
Since you are a matlab-beginner you should first start to work through the introduction material, there are some intro-course-we...

más de 5 años hace | 0

| aceptada

Respondida
Display rgb image in cartesian plane
Previously I've used: tcolor, with good results. HTH

más de 5 años hace | 0

| aceptada

Respondida
Speeding up calculation and removing symbol operation for modelization
You can simply define your model-function something like this: func = @(B,x,y) B(3)*x+B(1)*exp(B(2)./y); There is no reason to...

más de 5 años hace | 0

| aceptada

Respondida
What is the difference between conv2 and imfilter?
The first question is very simple to answer, conv2 has as its default behaviour: 'full' - (default) returns the full 2-D conv...

más de 5 años hace | 1

Respondida
Dot indexing is not supported for variables of this type.
When you get a problem like this it is because the variable is not of a struct as you expect. In general you can add a line with...

más de 5 años hace | 0

Respondida
How to close mutiple uifigure using command
If you want to keep some figures you can close a subset of them if you keep the figure-handles in an array. If you modify your c...

más de 5 años hace | 0

Respondida
Blurred latex figure label
Print your figure to post-script format using the -painters renderer: print('-depsc2','-painters','Your-new-and-pretty-figure-0...

más de 5 años hace | 1

| aceptada

Respondida
Extract data from contour plot of .png file?
In case the conversion of the colormap to grayscale doesn't work well (i.e. multiple colours mapping to the same gray-level) I o...

más de 5 años hace | 1

Respondida
Any Precondition for the slow decay singular value??
Unfortunately I could not access the paper. However, I'll offer my opinion anyway. Once you've calculated your SVD-decomposition...

más de 5 años hace | 0

| aceptada

Respondida
2 dependent ode45 equation
If you have 2 coupled ODEs: Then it is best to integrate them toghether. If you for some reason cannot do that or your prob...

más de 5 años hace | 2

| aceptada

Respondida
Find the element that is a sqrt of another element in the same array function?
Hint: Which number are you actually comparing, and which number-combinations do you need to compare? One thing I'll suggest is ...

más de 5 años hace | 0

Respondida
Linear interpolation Using Polyfit
Repeat question. What's missing from the answer I gave you here: Using polyfit for linear regression? Perhaps explicitly telli...

más de 5 años hace | 0

Respondida
Vertical concatenation of structure fields (compact form)
This gets you to a 2-by-suitable char array: char(structure.field) But this will obviously not be a general solution for field...

más de 5 años hace | 2

Respondida
Using polyfit for linear regression
Your code looks OK. Your problem might be that you expect a result identical to the figure from the documentation. However, you...

más de 5 años hace | 0

Enviada


Scrollsubplot
scrollsubplot(n,m,p) p<0 and p>nm, Extends subplot to infinite canvas ...

más de 5 años hace | 3 descargas |

4.8 / 5
Thumbnail

Cargar más