Answered
Patch won't fill my polygon and inpolygon won't find points inside
For question 2, it doesn't work for a couple reasons. xdim(31:length(zdim)-1) must be the same length as zdim. They are not, so...

17 Tage ago | 0

| accepted

Answered
How can I generate a "histogram", which shows the relative frequencies depending on the angle as "vectors" in polar coordinates?
This sounds like you want to use polarhistogram.

18 Tage ago | 0

| accepted

Answered
I cant solve 13.2 problem in Matlab Onramp
Use the Hint and See Solution links to learn how to complete any of the graded tasks.

18 Tage ago | 0

| accepted

Answered
Index exceeds the number of array elements (1).
It looks like Ch 5 of MATLAB Onramp would be helpful for you. It is unclear to me what you are tryign to do. The issue is you a...

18 Tage ago | 0

| accepted

Answered
Matlab contour plot with color
Use contourf.

18 Tage ago | 0

Answered
Unrecognized function or variable 'featureInputLayer'.
This function was introduced in R2020b. You can see what release a function was introduced in at the bottom of the documentation...

24 Tage ago | 0

Answered
Realize a 3d line plot
You must be getting an error message. What does it say (all the red text)? Check that your inputs are what plot3 expects. plot...

24 Tage ago | 0

| accepted

Answered
matlab online not working
Some things to try: A different browser Clear your cache If it still doesn't work, follow these instructions to reset your se...

24 Tage ago | 0

Answered
How to automically read data from excel file
I suggest using readtable to import a spreadsheet. See here. As for what to do with the data once you've imported it, I suggest...

24 Tage ago | 0

| accepted

Answered
MATLAB training unstable on Safari 14.1 (macOS 11.3.1)
https://www.mathworks.com/support/requirements/browser-requirements.html

25 Tage ago | 0

Answered
error: undefinded function
You need to keep in mind what workspace your variables are in. See the Base and Function Workspace page. You define variable a ...

25 Tage ago | 0

Answered
Need help converting berkeley madonna code to matlab code
Here's equivalent MATLAB code. STARTTIME = 0; STOPTIME = 24; % initial values NF = 0; F = 0; B = 0; L = 0; y0 = [NF; F...

25 Tage ago | 1

Answered
UITable doesn't work on Standalone Desktop App but on AppDesigner
Consider creating a runtime log of your compiled app. See this answer for more detais. Recompile the app, run it, and click your...

26 Tage ago | 0

| accepted

Answered
Conversion of Date time from string from a table
We are working from a screenshot, so this many not be 100% accurate, but I'd combine the two strings, and then used datetime to ...

26 Tage ago | 0

Answered
How to save data in txt format without scientific notation.
Pehaps try using fprintf and specify a formatspec that does not use exponents. For example fid = fopen('TogotoDacMIMO1.txt','w'...

26 Tage ago | 1

| accepted

Answered
How do I pad with zeros?
To pad with 100 rows of zeros, do the following % to add to the top X_proj_corrected = padarray(X_proj_corrected,100,'pre'); ...

26 Tage ago | 0

| accepted

Answered
integration by parts toolbox
The documentation page will tell you. Look in the left navigation pane. Starting from the top, the second line states it is part...

26 Tage ago | 0

| accepted

Answered
how can I take monthly data from a 20 year dataset
If you convert your dates to datetimes, you can use groupsummary. There, you can specify how you want to group the data. With da...

27 Tage ago | 0

Answered
Turn number to datetime
Not the prettiest, but once we look at the actual data, the approach shared earlier need to be customized. Your PacketCounter c...

27 Tage ago | 0

| accepted

Answered
How to use the function quiver in app designer?
See this page: Graphics Support in App Designer. The general adaptation to get it to work in app designer is to explicitly tell...

27 Tage ago | 2

Answered
touchstone file could not be processed in matlab
It took some digging, but the error is likely because you do not have the RF Toolbox installed. From the documentation page for ...

27 Tage ago | 0

| accepted

Answered
While loop does not repeat
Be careful. You are heading down the path of creating an infinite loop. Your loop is not running multiple times right now due t...

28 Tage ago | 0

Answered
Turn number to datetime
d=101416517; D=datetime(num2str(d),'InputFormat','HHmmssSSS',"Format","HH:mm:ss.SSS")

28 Tage ago | 0

Answered
Import data from txt-file with writematrix
You are not going to be able to use importdata, readmatrix, etc. because the formatting of your file is inconsistant. You are mo...

29 Tage ago | 0

Answered
what is the error here? It is showing "Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters."
You have split your equation over two lines without telling MATLAB. You must add an ellipsis at the end of the first line to ind...

29 Tage ago | 1

Answered
Import and plot stl file in AppDesigner
If you are using stlread to load the stl file, I suggest using one of the corresponding plot functions (trimesh, triplot, or tri...

30 Tage ago | 0

| accepted

Answered
Plotting leaving empty space before line begins
Yes, by default MATLAB will attempt to set the ticks at round numbers. If you prefer to have the limits exactly match your data,...

etwa ein Monat ago | 1

| accepted

Answered
I'm new to solving ode's in Matlab, i followed tutorial, and i do not understand the error
The dimension error is due to this line, with the problematic part indicated: [... Bf*(Sa/N)*I - Be*Sa*D - Alpha*Ip -y*Ip + kk...

etwa ein Monat ago | 1

| accepted

Answered
I need help writing code
You'll find all the help you need in MATLAB Onramp. Ch 4 covers creating arrays Ch 6 covers array calculations Ch 9 covers pl...

etwa ein Monat ago | 0

Answered
App Designer Error using matlab.ui.control.internal.model.AbstractNumericComponent/set.Value (line 111) 'Value' must be a double scalar.
In that line of code, you are converting the value of Gm to a string and then assigning the string to the Value property of your...

etwa ein Monat ago | 1

| accepted

Load more