답변 있음
Find the central line (midpoint) of a sinusoidal wave
yline(mean(y))

거의 3년 전 | 1

| 수락됨

답변 있음
Least Squares with constraint on absolute value
You'll need to write the problem in terms of the real-valued components xi and xr of x, x=xr+1i*xi Once you do that, your abso...

거의 3년 전 | 0

답변 있음
how can I delete zeros after virgule?
floor([0.254 0.435]*10)/10

거의 3년 전 | 0

| 수락됨

답변 있음
can I pass these nonlinear constraints to lsqnonlin?
Can I implement those constraints as nonlinear constraints You can, but you have a few problems: (1) Nonlinear constraints c...

거의 3년 전 | 0

| 수락됨

답변 있음
multivariate newton's method not working
You seem to be under the impression that it is far more extraordinary to thoroughly understand Newton's method, which I learned ...

거의 3년 전 | 0

질문


Remove data tips from Live Editor plots
I somehow inserted a data tip in a surface plot that I created in the Live Editor. How can I remove it interactively?

거의 3년 전 | 답변 수: 1 | 0

1

답변

답변 있음
Error at Matlab start up
I recommend a clean reinstall, and then also remove any path-modifying operations from your startup.m file, if you have one.

거의 3년 전 | 0

답변 있음
Solve looping for big cell, vector, and summation
Z=repmat({rand(1,1008)}, 1,1000); whos Z %Fake input data Z=reshape(cat(3,Z{:}) ,[],4,numel(Z)); p=sum(Z,1); w=resh...

거의 3년 전 | 0

답변 있음
Calculate the new position of a point after rotating
You can use this FEX download, which requires no toolboxes, https://www.mathworks.com/matlabcentral/fileexchange/30864-3d-rotat...

거의 3년 전 | 0

답변 있음
Using App Designer to control inputs to an outside .m file - basic control
From your description, it sounds like the app code ought to be much simpler: classdef checkboxtester < matlab.apps.AppBase ...

거의 3년 전 | 1

| 수락됨

답변 있음
Using polyfit in two arrays to detrend data.
p=polyfit(x,y,4); data_detrend = y-polyval(p,x)

거의 3년 전 | 0

| 수락됨

답변 있음
Is there a way to constrain singular value decomposition results?
The closest analogue I can think of would be as follows. This could only make sense, though, if yo were trying to do some sort o...

거의 3년 전 | 0

답변 있음
how change class name
The class name will be the same as the name you've given your .mlapp file.

거의 3년 전 | 1

답변 있음
Make a new variable based on data in the cell array.
x=[1 2 3 0 0 6] x=x(logical(x))

거의 3년 전 | 1

답변 있음
Make a new variable based on data in the cell array.
x=[1 2 3 0 0 6] x=x(x~=0)

거의 3년 전 | 1

답변 있음
Make a new variable based on data in the cell array.
x=[1 2 3 0 0 6] x=nonzeros(x)'

거의 3년 전 | 1

| 수락됨

답변 있음
Regression curve fitting for a given equation
p=polyfit(x,y,1); From this, you immediately obtain y0=p(2). For the remaining parameters, you can choose any of the infinite s...

거의 3년 전 | 0

| 수락됨

답변 있음
Finding optimal parameters of a conjoined distribution of N variables over given data with fminsearch
To answer your question, you wouldn't define J using a loop at all. Your f(x) are vectorized over the measured data vector y, so...

거의 3년 전 | 0

| 수락됨

답변 있음
How can assign numbers between two integer numbers instead of ones in a [0 1] matrix?
Sure. randi([lower,upper], 6,5)

거의 3년 전 | 0

답변 있음
Plotting grouped 3D bars from 3D matrix
Perhaps as follows: z=rand(5,4,5);%Fake data numDelta=size(z,3); clear xtk for i=1:numDelta h=bar3(z(:,:,i...

거의 3년 전 | 1

| 수락됨

답변 있음
How to find files containing two words with an extension.
Remove the extra asterisk: filename = dir('*pa750*mask*.mat')

거의 3년 전 | 1

답변 있음
Is it possible to show two .fig files in the same figure?
I am able to display two .fig files in the same figure as in the code below (like hold on function). When you use hold on/off, ...

거의 3년 전 | 0

답변 있음
rotate polar angle by an arbitrary angle
THETA0=THETA0-beta;

거의 3년 전 | 0

| 수락됨

답변 있음
Why I'm getting a complex degree value while using "acos"?
Because abs(dir_mag2/dir_mag1) is greater than 1. abs(dir_mag2/dir_mag1)

거의 3년 전 | 0

| 수락됨

답변 있음
fminsearch gives weird zick zack solution
It seems unlikely to me that x0=[1,1,1] would be an accurate initial guess. Surely, you chose that arbitrarily. Since you only h...

거의 3년 전 | 0

답변 있음
gernerating standard normal variable in matlab
at what value of n will i get the value close to identity? Well, with your current code, z will always contain only ones, so th...

거의 3년 전 | 0

| 수락됨

답변 있음
Why am I getting Empty sym: 0-by-1, everything in SYMS is just equal to itself, the eqn1 is working properly comparing the correct things, but not working properly, pleasehelp
Look at your first equation. You have Vb set to 3 different literal constants. How can those equalities be simultaneously satisf...

거의 3년 전 | 0

답변 있음
How best to overlay bar graphs from histcounts of different data?
A solution with interlacing: [v1, e1] = histcounts([2 5 3.4 5.3 5 4 8 7],linspace(3,6,4)); [v2, e2] = histcounts([3.4 5.5 6.4 ...

거의 3년 전 | 1

| 수락됨

답변 있음
How best to overlay bar graphs from histcounts of different data?
Maybe make the bars semi-transparent? You can also play with the edge thicknesses to emphasize the area of inclusivity of the ba...

거의 3년 전 | 1

답변 있음
Dot notation and curly braces with TABLE
In Matlab, there are circumstances in which indexed assignments will convert the type of the right hand side in order to be cons...

거의 3년 전 | 0

더 보기