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

7年以上 前 | 0

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

7年以上 前 | 0

回答済み
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.

7年以上 前 | 1

| 採用済み

回答済み
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...

7年以上 前 | 0

回答済み
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.

7年以上 前 | 0

回答済み
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...

7年以上 前 | 0

回答済み
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...

7年以上 前 | 0

| 採用済み

回答済み
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...

7年以上 前 | 0

| 採用済み

回答済み
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) ...

7年以上 前 | 0

回答済み
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...

7年以上 前 | 1

| 採用済み

回答済み
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...

7年以上 前 | 1

回答済み
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...

7年以上 前 | 0

回答済み
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...

7年以上 前 | 0

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

7年以上 前 | 0

| 採用済み

回答済み
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 ...

7年以上 前 | 0

回答済み
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])

7年以上 前 | 0

回答済み
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...

7年以上 前 | 1

| 採用済み

回答済み
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. ...

7年以上 前 | 0

| 採用済み

回答済み
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...

7年以上 前 | 0

| 採用済み

回答済み
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...

7年以上 前 | 1

| 採用済み

回答済み
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...

7年以上 前 | 0

| 採用済み

回答済み
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...

7年以上 前 | 4

| 採用済み

回答済み
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...

7年以上 前 | 0

回答済み
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...

7年以上 前 | 0

| 採用済み

回答済み
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...

7年以上 前 | 0

回答済み
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 ...

7年以上 前 | 0

| 採用済み

回答済み
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...

7年以上 前 | 1

| 採用済み

回答済み
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 ...

7年以上 前 | 0

回答済み
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...

7年以上 前 | 0

回答済み
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 = ...

7年以上 前 | 0

| 採用済み

さらに読み込む