Solved


Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

5 years ago

Solved


Find out sum and carry of Binary adder
Find out sum and carry of a binary adder if previous carry is given with two bits (x and y) for addition. Examples Previo...

5 years ago

Solved


Convert given decimal number to binary number.
Convert given decimal number to binary number. Example x=10, then answer must be 1010.

5 years ago

Solved


Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

5 years ago

Answered
Blur edges of rectangles in the image
Hi, If you know the corner points of rectangles in the image, then you can extract a matrix around those corners of rectangle ...

5 years ago | 0

Answered
How to use LSTM and CNN to handle a regression problem?
Hi, I am unable to understand what exactly you are doing with input and output of the network, but I think its related to eith...

5 years ago | 0

Answered
What is the meaning of E in state space represenation of dynamical system
Hi, If you are using tf2ss to convert the transfer function to State space model then it will not return the E matrix. That fo...

5 years ago | 0

| accepted

Answered
How to calculate volume fraction in small blocks in the stack of 2D binary images?
Hi, As mentioned in this Answer, you can calculate the volume fraction as fraction of count of non-zero pixel values to the to...

5 years ago | 0

| accepted

Answered
Custom deep learning network - gradient function using dlfeval
Hi, From the code I only see a syntax error on the following line [gradx1(i), gradx2(i)] = dlfeval(@modelGradientsX,dlnet,dl...

5 years ago | 0

| accepted

Answered
Discrete variables implementation in ga
Hi, When you open the example in MATLAB using the command (View MATLAB Command) given in the top right pane of the documentati...

5 years ago | 1

Answered
optmization code for sumsqure of error
Hi, The objective function you have mentioned in the question is not what you are trying to minimize. As the combination of UA...

5 years ago | 0

Answered
power in antenna pattern()
Hi, The ‘Type’ means the radiation pattern quantity to plotted with respect to azimuth and elevation. By default, its 'directi...

5 years ago | 0

Answered
define new variables based on clustering results
Hi, From the example in the question I understand you have matrix with 6 observation, and you are clustering them into 3 group...

5 years ago | 1

Answered
How to read an amira file?
Hi, Load Amira 5.2.2 Files is one of the submissions for loading amira file in MATLAB File Exchange on MATLAB Central which is...

5 years ago | 0

Answered
Convert a Problem-based model to a Solver-based model using prob2struct in MATLAB
Hi, Since the problem is framed using ‘lsqlin’ the prob2struct is returning the problem structure as per lsqlin optimization p...

5 years ago | 0

Answered
Complex data type support for dlarray
Hi, The feature of using complex data type in dlarray is not supported as of now. I have brought this issue to notice of the c...

5 years ago | 0

Answered
Edit and combine images with labels after losing the original labeling session of Image Labeler
Hi, If labels are available, you can use Import Labels option in ImageLabeler App. Here I am assuming while saving the labels ...

5 years ago | 0

Answered
How can i crop images from multiple folders that are located under one main folder to a specific size before i feed it through a CNN?
Hi, You can use augmentedImageDatastore to augment the images read by imageDatastore. The cropping function can be achieved us...

5 years ago | 0

| accepted

Answered
Identify and mark the number of breeds from pictures or videos
Hi, This can be done using object detection with the help of Deep Leaning Networks. For the identification you will require to...

5 years ago | 0

Answered
I have a function that plots a graph, how do I tell it which app.UIAxes to plot it on in AppDesigner?
Hi, If the plotting function is common for multiple UI Axes then, adding the parameter in plotting function which takes Axes a...

5 years ago | 0

Answered
Taylor series input arguments error
Hi, As Walter mentioned in the comments the issue would be that you may have defined a local variable named ‘taylor’ which is ...

5 years ago | 0

Answered
services::io::PrintFormat name specified
Hi, This is a known issue. In order to resolve the issue, you may remove the preferences folder "prefdir" and re-start MATLAB....

5 years ago | 0

Answered
Matched filter using FFT
Hi, There is similar question about implementing Matched filter answered here. https://www.mathworks.com/matlabcentral/answe...

5 years ago | 0

Answered
Open Sim from Star CCM+ in matlab
Hi, There is a similar question which answers about using Star CCM+ from MATLAB. You may refer to that question for solution. ...

5 years ago | 0

Answered
How can i use Arduino functions (code) in simulink?
Hi, There are lot of reference about Arduino Support from MATLAB that enables to use MATLAB to interact with Arduino Board. Yo...

5 years ago | 0

Answered
Index in position 2 exceeds array bounds (must not exceed 1).
Hi, The above error is due to the input data x and y not being in the standard cell array format to be inputted to the narxnet...

5 years ago | 1

Answered
Control System Designer Not Available
Hi, From my understanding of the question and comments, you are not able to use Control System Designer App in Simulink. Besid...

5 years ago | 2

Answered
Loop takes a lot of time
Hi, As darova mentioned in the comments that optimization may not be possible in filtering code, but I see that code lines ins...

5 years ago | 0

Answered
Why does my R-square value 1 on Regression Learner App?
Hi, After understanding the response plot, I can say that the RMSE(root mean squared error) in the calculation is two order of...

5 years ago | 0

Answered
how to prepare 3D nifti images for 2D semantic segmentation network training
Hi, From my understanding you have bunch of ‘nifti’ image you can read into a matrix. You can combine those bunch of images al...

5 years ago | 2

Load more