Answered
How to open External Program by MATLAB?
system('"C:\Program Files\Bentley\Offshore\MAXSURF CONNECT Edition V23\MaxsurfModeler64.exe" &'); That is, if you put an & at t...

4 years ago | 0

| accepted

Answered
trying to select multiple files to use in multiple s-parameter plots. I can see the file name when I manually use file1{1,2} but sparameters doesn't like it.
DefPath = 'C:\tmp\new anenna stuff\*.s4p'; [FileNames, PathName] = uigetfile(DefPath,'MultiSelect','on'); if...

4 years ago | 0

Answered
Trying to integrate for drag
I suspect Integrate = u_wake .* (20-u_wake);

4 years ago | 1

Answered
Find longest pattern of [1 0] in array.
The below code will find all of the subsets of maximum length (I do not assume that it will be unique) The union() are present ...

4 years ago | 1

| accepted

Answered
How to code for summation?
Your sin(x) term is constant in n, so you can move it outside the summation. x = -pi:0.01:pi; sx = sin(x); factor = cumsum(2....

4 years ago | 2

| accepted

Answered
MATLAB R2017a does not recognize a Visual Studio 2015 redistributable Compiler
https://www.mathworks.com/content/dam/mathworks/mathworks-dot-com/support/sysreq/files/SystemRequirements-Release2017a_Supported...

4 years ago | 1

Answered
All Combination of Matrices from two single values
values = [1 2]; N = 3; outputs = reshape(values(dec2bin(0:2^(N^2)-1).' - '0' + 1), N, N, [])

4 years ago | 0

| accepted

Answered
imread slower with huge tif files
Use the Tiff() class to work more directly with the tiff structure.

4 years ago | 0

Answered
My shifting algorithm does not work at all cases. Could someone please give me feedback what's wrong at my code?
shift = shift_max * (shift/shift_max - round(shift/shift_max)); shift_max is not a power of 2. When you divide by something...

4 years ago | 1

Answered
Solution of radical equation
We would not know if the code is correct as you did not show us the equations. We would, for example, not know whether the sin()...

4 years ago | 1

Answered
Can you use the whos command to identify classes
numeric_classes = {'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32', 'int64', 'uint64', 'single', 'double'}; num_classes...

4 years ago | 1

| accepted

Answered
How to create TCP IP Server in MATLAB R2020b without using tcpip command as it states it is not recommended.
tcpserver was introduced in R2021a . You appear to be asking what should have been used in R2020b -- the release before tcpserv...

4 years ago | 0

Answered
plotting this program is causing a problem how to fix it?
[y(4),y(5),y(6)] = meshgrid(-4:0.25:4,-4:0.25:4,-4:0.25:4); You want y(4), y(5), y(6) to each represent a matrix of values. You...

4 years ago | 0

| accepted

Answered
Fit a line and integration
You are asking for normalization. When you do that, coeffvalues are the coefficients for the normalized independent variable, no...

4 years ago | 0

| accepted

Answered
How to assign column headings to .mat file?
It is not possible to add column headings to a mat file. However you can create a table() object and store it in the mat file...

4 years ago | 0

Answered
Splitting a String in a table once
I can tell from the way that the table displays that the entries are categorical() not character or string(). You would need to ...

4 years ago | 1

| accepted

Answered
How can I limit the argument in coding the roots of a fraction?
root1 = solve(fp,x)

4 years ago | 0

Answered
Extract values from one matrix and with iteration solve the system of linear equations
A = randi([-5 5], 5 ,3) B = randi(9,3, 3) C = A/B plot(C(:,1))

4 years ago | 0

Answered
Draw vertical lines which have constant interval
time = datetime(original_form,'ConvertFrom','datenum'); plot(time, P); firstmarch = dateshift(time(1), 'start', 'year') ...

4 years ago | 0

Answered
How to open Tonatiuh output .DAT files in MATLAB?
The file format is described at https://code.google.com/archive/p/tonatiuh/ You might find it useful to use memmapfile to defi...

4 years ago | 0

Answered
Can anyone please help me with this ?
You have not shown enough code to be certain, but I suspect that your function plot_Re60() is defined as taking two inputs, the ...

4 years ago | 0

Answered
Optimize cost function to obtain optimal value of the optimization variable.
Create a function that accepts a and b and uses ode45() to run the system to tspan 10. Return the values of y1(end) and y2(end) ...

4 years ago | 0

| accepted

Answered
I would like to know how to purchase the "Infineon AURIX™ TC4x - TriBoards" board
According to https://www.infineon.com/cms/en/product/microcontroller/32-bit-tricore-microcontroller/32-bit-tricore-aurix-tc4x/ t...

4 years ago | 1

| accepted

Answered
In Simulink, why can the fractional integrator only integrate one-dimensional inputs, but not multidimensional matrix forms of variables? What is the solution
The FOMCON toolbox is a third-party software package that is outside the control of Mathworks. You would need to ask the authors...

4 years ago | 0

Answered
How to Convert data into Image using Matlab
yeah it has only one values means we have a straight white line in the image. Y=linspace(min(y), max(y) ,resolution); With you...

4 years ago | 0

Answered
Simulink Support Package for Raspberry Pi Hardware not working on Raspberry Pi 4B 8GB (2022)
It will not exactly be "fun", but if you look at https://github.com/mathworks/Raspbian_OS_Setup you can see a list of packages y...

4 years ago | 0

Answered
how many nodes is available for the student version
The Student license has a 1000 block limit; see https://www.mathworks.com/matlabcentral/answers/94375-why-does-the-block-limitat...

4 years ago | 0

Answered
Can someone help me how to code the missing parts? because I don't have enough knowledge to code the needed equations.
On lines 21 and 23 you need to assign IoDR either "Increasing" or "Decreasing". You will need to use your knowledge of mathemati...

4 years ago | 0

Answered
Error using lsim(Hfinal,Y,t)
y=lsim(Hfinal,Y,t); In that call, Hfinal must be a dynamic system, and Y must be an array with as many rows as there are elemen...

4 years ago | 0

Answered
If I had the derivative of an equation and had data points how would I plot them
if you have numeric derivative and you want to plot the original curve (to within a constant shift) then use cumtrapz() and plot...

4 years ago | 0

Load more