Answered
how to show Transfer function in gui static text like in command window
aux = tf(0.01, [0.005, -0.04, -0.1]); T = evalc('aux'); Tcell = regexp(T, '\n', 'split'); Tcell = Tcell(4:6); set(handle...

3 years ago | 0

| accepted

Answered
HTTP error code 12029 when trying to install compiled app
You are probably running into a challenge that most places stopped supporting an older HTTPS encryption. See https://www.mathwo...

3 years ago | 0

| accepted

Answered
Creating 'n' matrices with each one with 'n' in its name
See https://www.mathworks.com/matlabcentral/answers/2020976-i-want-to-store-the-vector-from-each-for-loop-iteration-how-can-i-do...

3 years ago | 0

Answered
Matlab double sum over vectors
Different versions, and their timings. Except... in different runs, the timings especially for the first version varied by more...

3 years ago | 0

| accepted

Answered
How to write cell array to excel file?
writecell() in later releases. In your release you are either going to need to make a bunch of xlswrite calls or else you are go...

3 years ago | 0

Answered
CANpack code generation Problem for MCU without floating-point math capabilities
roundf has been part of the C standard library since C99. However it expects floating point input and returns floating point out...

3 years ago | 0

| accepted

Answered
Strange warning how to interpret it?
I got the same thing the first time I started r2023b official on my macos ventura intel (I had prerelease before that.) I create...

3 years ago | 1

Answered
Are there any fees after the free trial ?
No. If you do not explicitly purchase the product then there will be no charge to you. This is not one of those cases where you...

3 years ago | 0

Answered
How to make same subplot size at different figures regardless of the number of sub-plot?
For this task, do not use subplot. Instead use axes() with explicit 'Units' set to 'centimeters' or 'inches' or 'points' or 'pix...

3 years ago | 0

Answered
equation of zero forcing receiver
W_ZF = ((H.^H) .* (H .* (H.^H)).^(-1)) .* S ; The first part of that expression results in a 128 x 8 array that is all infinit...

3 years ago | 0

Answered
how to write a formula in matlab?
Use the Symbolic toolbox. Declare symbolic variable names with syms such as syms h_I T_0 t z MATLAB has no implicit multiplica...

3 years ago | 0

Answered
Variable layer thickness using loops
sd(i) / dz sd(i) is a scalar but dz is a row vector. In MATLAB, the / operator is mrdivide, / matrix right divide. A/B is simi...

3 years ago | 0

Answered
hi , can help me in this problem "Invalid text character. Check for unsupported symbol, invisible character, or pasting of non-ASCII characters." i don't know the solution
h_zf = X_zf * inv(H_true) * Y ;` That line has a ` (back-quote) at the end of that you need to delete, making it ...

3 years ago | 1

| accepted

Answered
Detect figure or uifigure from the handle?
figure() handles do not have a property isUIFigure uifigure() handles have a property isUIFigure with value true

3 years ago | 0

| accepted

Answered
Color Label Image By Region Property
discretize the orientation angle into an integer, uint8() that, then ind2rgb

3 years ago | 1

Answered
Error message: Index exceeds matrix dimension
directory = uigetdir; if isnumeric(directory); fprintf('User cancel\n'); return; end mov_list = dir(fullfile(d...

3 years ago | 0

Answered
How to prevent the saved images become uint8
PNG has no support for floating point pixels. TIFF has support for floating point, but the imwrite() interface to TIFF does not...

3 years ago | 0

Answered
Why do I get an error trying to slice a 3D?
you cannot use surf to display solid volumes. See volshow

3 years ago | 0

Answered
Downloading License File for Previous Version of MATLAB
Yes. If you run the on-line installer for any previous MATLAB release (back to R2008a or later) then it will automatically gen...

3 years ago | 0

Answered
I want to replace strings in a column of a structure (see the picture) with numbers/codes. Can someone help with this??
codestrings = {'bgin', 'resp', 'stm+', 'TRSP'}; codevals = [-2, 3, 1, -4]; [found, index] = ismember(YourTable.columnlabel, co...

3 years ago | 0

| accepted

Answered
Using GUI Designer to convert integer inputs to exponential form (convert MHz to integer Hertz)
If the user is expected to enter 5700 and that is to represent the same as 5700e6 would, then you should be multiplying by 1e6 i...

3 years ago | 0

| accepted

Answered
error Index exceeds the number of array elements (1). comes in the line where fun is defined ,please help.
r=C(:,1); r is a slice out of C if imag(NEU(1,j))~=0 for r=2:17 No it isn't -- now it is a scalar integer. i...

3 years ago | 1

| accepted

Answered
Loading a 484x585x6626 matrix in Matlab, computer freeze and matlab shut down, but.....
format long g bytes = 484*585*6626*8 kilobytes = round(bytes / 1024, 1) megabytes = round(kilobytes / 1024, 1) gigabytes = r...

3 years ago | 0

| accepted

Answered
File Output format not in Hex in Designer, but is in .m file output
reading off of your tooltip and converting: format long g g = hex2num('422ffbed66dbfd86') Not an integer. The problem is no...

3 years ago | 0

| accepted

Answered
I want to store the vector from each for-loop iteration, how can I do this?
format long g M = randi(256, 256, 256); d = 0; for i=1:256 x = M(i, :); while true d = d + 1; v...

3 years ago | 1

Answered
plotting issue in MATLAB
plot() by default does not draw any markers. plot() only creates lines when there are two or more adjacent finite points. plot...

3 years ago | 0

| accepted

Answered
I want to detect text for 30 image data similar to the example, but my ROI program has not succeeded in detecting the text. how to improve the roi?
I = imread('NOPOL 16.jpeg'); charset = ['A':'Z' '0':'9' ' -']; ocrOutput = ocr(I,[67 55 169 46],'characterset',charset); %ocr...

3 years ago | 0

Answered
Is this the correct way to factor out denominator and nominator of this complex expression?
When you have symbolic results, there are several different ways you can display them to the command window: you can assign the...

3 years ago | 0

Answered
how to scan a curve along 20 points.
x0 = rand() * 2 * pi; fprintf('starting at %.17g\n', x0); xvals = typecast(typecast(x0, 'uint64') + uint64(0:19), 'double'); ...

3 years ago | 0

Answered
Using optimisation function "fminunc" for nth number of time
Do not use a for loop inside the objective. Each iteration of the for loop, you are overwriting all of f so the result is the sa...

3 years ago | 0

| accepted

Load more