Beantwortet
Why do my figures look so pixelated after publishing?
There is a work around and discussion related to the same issue located here.

mehr als 7 Jahre vor | 0

Beantwortet
how can i model time delay in time domain in controller?
Look at the example here you will need to use the pade function.

mehr als 7 Jahre vor | 0

Beantwortet
How do I read an image file in .fits format and convert it to.png or .tiff?
Use fitsread() and imwrite() if you need further help please post the file you are working with.

mehr als 7 Jahre vor | 1

| akzeptiert

Beantwortet
How to detect a stalled object in a video?
The example layed out here is very inforative and will take care of all your problems. You can play with different parameters su...

mehr als 7 Jahre vor | 0

Beantwortet
How to plot product of two summations?
I would do this symbollically. Use the symsum function and the subs equation, both links have examples to solve your problem.

mehr als 7 Jahre vor | 0

Beantwortet
Plot to Image?
Would the following work for you or at least push you in the right direction? x = 1:10; y = x.^2; xwidth = 300; ywidth = 2...

mehr als 7 Jahre vor | 0

Beantwortet
How do I plot a graph from a code that is is using a function and looping feature
You are redeffining NN unessecarily and the first instance of S(i) is not defined. Consider preallocationg and changing your cod...

mehr als 7 Jahre vor | 0

| akzeptiert

Beantwortet
How do you know how many inputs your lsim function has?
Run: size(SYS) and you get: >> State-space model with 8 outputs, 1 inputs, and 16 states. According to lsim documentation: T...

mehr als 7 Jahre vor | 0

| akzeptiert

Beantwortet
How to find the marker in the biggest row?
If you run the following code youll get the following answer: A = [5 2; 7 3; 4 5; 6 5; 8 6; 3 8]; [maxNum maxIdx] = max(A) ...

mehr als 7 Jahre vor | 0

Beantwortet
can anyone offer control of state space system using Iterative Learning Control in command window in MATALB
Here is an example that should push you in the correct direction. I havent completed it as I dont know what your reference signa...

mehr als 7 Jahre vor | 1

| akzeptiert

Beantwortet
Execute text files in matlab
Make a text file that looks like this and call it "test.txt": 1, 2, 3, 4, 5 6, 7, 8, 9, 10 Use the following function to load...

mehr als 7 Jahre vor | 1

Beantwortet
create multiple submatrices from larger matrix
Does this work for you? x = rand(5000,3); count = 1; for ii = 1:100:length(x)-100 y{count} = x(ii:ii+100,:); coun...

mehr als 7 Jahre vor | 0

Beantwortet
How to display all values from the for loop in one variable
Try this (I had to make up your z values). Z = randi(5,[400,7]); for ii = 1:7 m{ii} = Z(:,ii:ii); end If you wanted t...

mehr als 7 Jahre vor | 0

Beantwortet
How to remove circle (magenta color circle) in front of legend?
Use the text function. A good example can be found here.

mehr als 7 Jahre vor | 0

| akzeptiert

Beantwortet
how to insert a calculated index to trim a data set?
Use a diffferent variable name then width, it is a function used for tables and is used by MATLAB. You also need to ensure that ...

mehr als 7 Jahre vor | 0

Beantwortet
How do I graph the portion of the sphere in the first octant?
[x y z] = sphere; r = 2; surf(x*r, y*r, z*r); xlim([0 2.5]) ylim([0 2.5]) zlim([0 2.5])

mehr als 7 Jahre vor | 0

Beantwortet
Plot this for me please
Looks fine to me. t = 0:0.01:3; x = 7.234e-7*cos(132.9*t) - 1.054e-6*exp(-1.0*t) - 5.901e-6*cos(70.71*t) - 5.444e-9*sin(132.9...

mehr als 7 Jahre vor | 1

| akzeptiert

Beantwortet
Help with writing a function to check a users input
You were on the right track. To make it easier on yourself you can include a string inside the input function like I did below. ...

mehr als 7 Jahre vor | 0

| akzeptiert

Beantwortet
constructing a background from a sequence of images
Place all your images in a folder called "imageFolder" which is in the same directory as your scripts and functions. Run this co...

mehr als 7 Jahre vor | 0

| akzeptiert

Beantwortet
Please help me fix the count for the nested for-loop
I dont fully understand the end goal of your function but your error was coming from redefining Rn as well as some of your indic...

mehr als 7 Jahre vor | 1

| akzeptiert

Beantwortet
luminance component of an image
Run the following: I = imread('test.png'); J = rgb2gray(I); rgb2gray uses the same formual which is used to calculate luminan...

mehr als 7 Jahre vor | 0

| akzeptiert

Beantwortet
how to extract data with some condition
Try the code below. You will have to change it to your data but you should get the idea. % Generate a random matrix of interge...

mehr als 7 Jahre vor | 4

| akzeptiert

Beantwortet
How do I fix my graph?
Try the code below. Esentially I find the first instence when a value is greater than 260 and eliminate from that point to the e...

mehr als 7 Jahre vor | 0

Beantwortet
Unexpected result linspace function
It is due to round off error. Linspace documentation states the following regarding the fuction: If n is not an integer, linspac...

mehr als 7 Jahre vor | 0

| akzeptiert

Beantwortet
I keep getting a syntax error on the 'if' function.
I may be mistaken but I have not seen this type of syntax used before in MATLAB. Try changing your function to something like th...

mehr als 7 Jahre vor | 0

Beantwortet
How do I loop a program that waits for a .dat file to be updated?
Depending on the size of your .dat file this may work for your application: while while ~isfile('steps.dat'); end ...

mehr als 7 Jahre vor | 0

| akzeptiert

Beantwortet
How to get rid of angles in MATLAB world map?
Access the figure handle and set the angle labels to be a blank string. This code will do it for you: close all h = worldmap...

mehr als 7 Jahre vor | 1

| akzeptiert

Beantwortet
car model identification using image processing
Hello, this is a good project! It is more machine / deep learning than image processing though. I did a similar project for one ...

mehr als 7 Jahre vor | 0

Beantwortet
Loop through the vector 6x5800 and save data in excel file.Hi
Try this out (data file attached). When dealing with large data sets its better to use .csv then .xlsx. clear all data = dl...

mehr als 7 Jahre vor | 0

Beantwortet
Why is importdata bringing in cell array?
You might have better luck going through the file line by line. For example: f = fopen('test.csv'); lineCount = 1; tline = ...

mehr als 7 Jahre vor | 0

| akzeptiert

Mehr laden