Answered
未定义函数或变量 'mat2gray'。怎么解决
mat2gray是图像处理工具箱的函数。你是否没有安装该工具箱?

4 months ago | 0

Answered
Can not use a single value to express the color value
我无法复现这个问题,你是否还作了其它图像?

4 months ago | 0

Answered
MATLAB欧式距离的代码优化。
[dis(:,1),dis(:,2)]=find(tril(true(width(alldesc)),-1)); dis(:,3)=pdist(alldesc.');

4 months ago | 0

Answered
已知一组数据x,大概服从拉普拉斯分布,如何才能估计出对应的参数呢?。
拉普拉斯分布只有一个位置和一个尺度参数。位置参数就是中位数,尺度参数就是每个点到中位数的平均距离。 function [mu, b] = estimate_laplace_params(data) % 估计位置参数 μ(中位数) mu...

4 months ago | 0

Answered
六重for循环如何优化? 。
你的for循环都没有end,显然代码都没贴完整,你让我们怎么帮你优化

4 months ago | 0

Answered
如何往元胞数组的某个单元里增加新的值?。
你的问题描述必然存在错误,一个元胞里只能放一个数组,不可能允许a{1,1}里存放了[5,6],[4,9],[8,2]三个数组。请重新检查。

4 months ago | 0

Answered
如何把两条曲线拟合成一条曲线?。
直接算y0y1的平均值然后polyfit不行吗?

4 months ago | 0

Answered
通过数据来确定概率密度函数。
不可能确定它的概率分布是什么,只能列出可能的概率分布,然后依次进行统计检验,计算它是各种分布的概率。

4 months ago | 0

Answered
矩阵怎么计算。
把^改成.^

4 months ago | 0

Answered
数据调用anovan函数后,输出都是NaN,这是则么回事。
你可能需要为anovan设置continuous参数,因为你的a和b似乎是连续变量,而anovan默认将所有变量当作分类变量处理。

4 months ago | 0

Answered
matlab创建函数为什么要用 “点”符号?
点号并不是一个单独的符号,而是与.*构成一个与*完全不同的运算符,两者仅在作用于标量时等价。对于非标量运算两者完全不同。使用*等价于调用mtimes函数,而使用.*则等价于调用times函数

4 months ago | 0

Answered
Matlab installer GUI for 2024b preventing text entry on "Confirm User" screen.
Contact technical support.

4 months ago | 0

Answered
Why does a marketing web page open every time I use documentation?
Consider submitting a Web Site Feedback.

4 months ago | 0

Answered
How to fix the error using -FROMSTRUCT ?
The error message is clear: -fromStruct asks you to enter a struct scalar, and then save each field name of the input struct as ...

4 months ago | 0

Answered
How to extract the term associated with a symbolic variable and assign to another symbolic variable?
Use coeffs to get coefficients of U_sr and multiply it with U_sr.

4 months ago | 0

Answered
Why does Matlab crash when I try to access .NET 6.0 (core)?
This is a known dotnet issue already submitted to Microsoft by MathWorks staff. 20241218 An easier workaround, from tech suppo...

4 months ago | 2

Answered
How can I test a function that contains a "waitFor" function or popup dialogs without requiring external user input?
Possible ideas: Create a waitfor function for testing in the current directory before testing to see if it can mask the waitfor...

4 months ago | 0

Answered
Doc links no longer work
This should be a bug. According to Contents.m's documentation, it should work well with the doc command. If this feature is ver...

4 months ago | 0

Answered
matlab 如何计算结构体的字节数,用whos怎么算出来的不对
在运行这段代码之前,你的S_XY是空的吗?

4 months ago | 0

Answered
这样写为什么会报错呢。
^是矩阵幂运算,.^是向量化幂运算,你混淆了这两种运算符

4 months ago | 0

Answered
作业求助
乘法要用乘号.*,不能像在数学表达式那样中省略乘号

4 months ago | 0

Answered
Arduino Mega2560, Support Package for Arduino Hardware Test Connection Failed
Install Arduino IDE to see if you can upload a sketch.

4 months ago | 0

Answered
slow imwarp with large arrays
There are two different levels of parallel acceleration in MATLAB, and you need to check if you are confusing them. Parallel po...

4 months ago | 1

Answered
mex function: multiple definition errors
Enabling optimization means that the definition of some built-in macros will change, resulting in different compilation conditio...

4 months ago | 0

Answered
在安装toolbox时显示无法访问安装路径,但是我的安装路径是全英文的也没有空格
检查你是否有安装路径的访问权限,相关目录是否被其它进程占用,以及你安装的是否是MATLAB官方工具箱。

4 months ago | 0

Answered
Fixing biased random number generation
It's a math problem. If you try to take a uniform random variable H as an upper bound on another uniform random variable a, then...

4 months ago | 1

| accepted

Answered
Subclass with dynamic method
classdef Combination<polygon properties(SetAccess=immutable) PolygonA PolygonB AIsQuadrangular BIsQuadrangular e...

4 months ago | 0

| accepted

Load more